Skip to content

Commit fd7eb25

Browse files
Huang Shijietorvalds
Huang Shijie
authored andcommitted
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 <sjhuang@iluvatar.ai> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Alexey Skidanov <alexey.skidanov@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 323dd2c commit fd7eb25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/genalloc.c

+1
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start,
567567
rcu_read_unlock();
568568
return found;
569569
}
570+
EXPORT_SYMBOL(addr_in_gen_pool);
570571

571572
/**
572573
* gen_pool_avail - get available free space of the pool

0 commit comments

Comments
 (0)