Skip to content

Commit

Permalink
swap: fix error with CONFIG_TRIM set
Browse files Browse the repository at this point in the history
  • Loading branch information
EtchedPixels committed Apr 6, 2024
1 parent 7fc0a37 commit e2ef3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void swapmap_init(uint_fast8_t swap)
we are in the middle of an I/O (at least for now). If we rework the kernel
for sleepable I/O this will change */

int swapread(uint16_t dev, register blkno_t blkno, register usize_t nbytes,
int swapread(uint16_t dev, blkno_t blkno, register usize_t nbytes,
uaddr_t buf, uint16_t page)
{
int res;
Expand Down

0 comments on commit e2ef3d3

Please sign in to comment.