summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-21 15:19:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-21 15:19:36 +0200
commit48e33f00e4f8b89aa4884861b8a69d220c193b1e (patch)
tree47ba6189e9631235b8a6a997ad2aa8da6d5dd734
parent77938ac3e3f409635591e3bc0a4917edba4d78f5 (diff)
downloadrtems-libbsd-48e33f00e4f8b89aa4884861b8a69d220c193b1e.tar.bz2
linux/genalloc.h: Update due to API changes
-rw-r--r--rtemsbsd/powerpc/include/linux/genalloc.h2
1 files changed, 1 insertions, 1 deletions
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)