Skip to content

Commit

Permalink
lib/genalloc.c: export symbol addr_in_gen_pool
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Huang Shijie authored and torvalds committed Dec 5, 2019
1 parent 323dd2c commit fd7eb25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/genalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd7eb25

Please sign in to comment.