diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-03-30 22:33:42 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-03-30 22:33:42 -0400 |
commit | d5e50daf92df8afcb701fd717b301985691e802f (patch) | |
tree | a06b35a25d939fb762d45b563df091d390e0274b /include/linux/module.h | |
parent | 10fad5e46f6c7bdfb01b1a012380a38e3c6ab346 (diff) |
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>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index f0e2659f4e3e..8bd399a00343 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
@@ -567,6 +567,11 @@ static inline bool is_module_address(unsigned long addr) | |||
567 | return false; | 567 | return false; |
568 | } | 568 | } |
569 | 569 | ||
570 | static inline bool is_module_percpu_address(unsigned long addr) | ||
571 | { | ||
572 | return false; | ||
573 | } | ||
574 | |||
570 | static inline bool is_module_text_address(unsigned long addr) | 575 | static inline bool is_module_text_address(unsigned long addr) |
571 | { | 576 | { |
572 | return false; | 577 | return false; |