From: Huang Shijie Date: Thu, 5 Dec 2019 00:52:00 +0000 (-0800) Subject: lib/genalloc.c: export symbol addr_in_gen_pool X-Git-Tag: v5.15~4962^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd7eb2513f8549cf2f6b0c323377816268424bed;p=platform%2Fkernel%2Flinux-starfive.git lib/genalloc.c: export symbol addr_in_gen_pool We use addr_in_gen_pool() in a driver module. So export it. Link: http://lkml.kernel.org/r/20181224070622.22197-2-sjhuang@iluvatar.ai Signed-off-by: Huang Shijie Reviewed-by: Andrew Morton Cc: Alexey Skidanov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/genalloc.c b/lib/genalloc.c index 24d20ca..af9a574 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -567,6 +567,7 @@ bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, rcu_read_unlock(); return found; } +EXPORT_SYMBOL(addr_in_gen_pool); /** * gen_pool_avail - get available free space of the pool