diff options
| author | Huang Shijie <[email protected]> | 2019-12-05 00:52:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-05 03:44:13 +0000 |
| commit | fd7eb2513f8549cf2f6b0c323377816268424bed (patch) | |
| tree | 83022f83cdeaefe834e711b92448e05819e8af63 /lib/genalloc.c | |
| parent | lib/math/rational.c: fix possible incorrect result from rational fractions he... (diff) | |
| download | kernel-fd7eb2513f8549cf2f6b0c323377816268424bed.tar.gz kernel-fd7eb2513f8549cf2f6b0c323377816268424bed.zip | |
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/[email protected]
Signed-off-by: Huang Shijie <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Alexey Skidanov <[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
