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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd7eb2513f8549cf2f6b0c323377816268424bed;p=openwrt%2Fstaging%2Fblogic.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 24d20ca7e91b..af9a57422186 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