Commit 934831d0 authored by David Howells's avatar David Howells Committed by Linus Torvalds

NOMMU: Fallback for is_vmalloc_or_module_addr() should be inline

The NOMMU fallback for is_vmalloc_or_module_addr() should be static inline,
not just static, in linux/mm.h.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 645d83c5
...@@ -288,7 +288,7 @@ static inline int is_vmalloc_addr(const void *x) ...@@ -288,7 +288,7 @@ static inline int is_vmalloc_addr(const void *x)
#ifdef CONFIG_MMU #ifdef CONFIG_MMU
extern int is_vmalloc_or_module_addr(const void *x); extern int is_vmalloc_or_module_addr(const void *x);
#else #else
static int is_vmalloc_or_module_addr(const void *x) static inline int is_vmalloc_or_module_addr(const void *x)
{ {
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment