aboutsummaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2014-12-02 23:59:45 +0000
committerLinus Torvalds <[email protected]>2014-12-03 17:36:04 +0000
commitb724aa213df7aee08d57237ee0bbafffef09aea5 (patch)
treeeae9cfdc62c7661304726f0dbed349e894dce98f /lib/genalloc.c
parentmm: fix anon_vma_clone() error treatment (diff)
downloadkernel-b724aa213df7aee08d57237ee0bbafffef09aea5.tar.gz
kernel-b724aa213df7aee08d57237ee0bbafffef09aea5.zip
lib/genalloc.c: export devm_gen_pool_create() for modules
Modules can use this function for creating pool. Signed-off-by: Michal Simek <[email protected]> Acked-by: Lad, Prabhakar <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Olof Johansson <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Philipp Zabel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
-rw-r--r--lib/genalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c
index cce4dd68c40d..2e65d206b01c 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -598,6 +598,7 @@ struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order,
return pool;
}
+EXPORT_SYMBOL(devm_gen_pool_create);
/**
* dev_get_gen_pool - Obtain the gen_pool (if any) for a device