1
0
Fork 0

module: add stub for is_module_percpu_address

Fix build for CONFIG_MODULES not enabled by providing a stub
for is_module_percpu_address().

kernel/lockdep.c:605: error: implicit declaration of function 'is_module_percpu_address'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
hifive-unleashed-5.1
Randy Dunlap 2010-03-31 11:33:42 +09:00 committed by Tejun Heo
parent 10fad5e46f
commit d5e50daf92
1 changed files with 5 additions and 0 deletions

View File

@ -567,6 +567,11 @@ static inline bool is_module_address(unsigned long addr)
return false;
}
static inline bool is_module_percpu_address(unsigned long addr)
{
return false;
}
static inline bool is_module_text_address(unsigned long addr)
{
return false;