mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
323dd2c3ed
commit
fd7eb2513f
1 changed files with 1 additions and 0 deletions
|
@ -567,6 +567,7 @@ bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start,
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(addr_in_gen_pool);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gen_pool_avail - get available free space of the pool
|
* gen_pool_avail - get available free space of the pool
|
||||||
|
|
Loading…
Reference in a new issue