diff options
Diffstat (limited to 'rtemsbsd/powerpc/include/linux')
-rw-r--r-- | rtemsbsd/powerpc/include/linux/crc32.h | 2 | ||||
-rw-r--r-- | rtemsbsd/powerpc/include/linux/genalloc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rtemsbsd/powerpc/include/linux/crc32.h b/rtemsbsd/powerpc/include/linux/crc32.h index 0edaaa07..a86ac4a0 100644 --- a/rtemsbsd/powerpc/include/linux/crc32.h +++ b/rtemsbsd/powerpc/include/linux/crc32.h @@ -28,7 +28,7 @@ #define _LINUX_CRC32_H #include <linux/types.h> -#include <sys/libkern.h> +#include <sys/gsb_crc32.h> #ifdef __cplusplus extern "C" { diff --git a/rtemsbsd/powerpc/include/linux/genalloc.h b/rtemsbsd/powerpc/include/linux/genalloc.h index 9df0e430..c7ecd7bc 100644 --- a/rtemsbsd/powerpc/include/linux/genalloc.h +++ b/rtemsbsd/powerpc/include/linux/genalloc.h @@ -88,7 +88,7 @@ gen_pool_alloc(struct gen_pool *gp, size_t size) chunks = (size + (1 << gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift; mtx_lock(&gp->gen_lock); - blkno = blist_alloc(gp->gen_list, chunks); + blkno = blist_alloc(gp->gen_list, &chunks, chunks); mtx_unlock(&gp->gen_lock); if (blkno == SWAPBLK_NONE) |