summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-09-24 13:33:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-25 02:20:20 +0200
commit934831d060ccd5471ecbc562804a8d3ccd6e562c (patch)
treecfa123da33934e86e997a0a12a8709ac892b450d /include
parentNOMMU: Fix MAP_PRIVATE mmap() of objects where the data can be mapped directly (diff)
downloadlinux-934831d060ccd5471ecbc562804a8d3ccd6e562c.tar.xz
linux-934831d060ccd5471ecbc562804a8d3ccd6e562c.zip
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: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index df08551cb0ad..24c395694f4d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -288,7 +288,7 @@ static inline int is_vmalloc_addr(const void *x)
#ifdef CONFIG_MMU
extern int is_vmalloc_or_module_addr(const void *x);
#else
-static int is_vmalloc_or_module_addr(const void *x)
+static inline int is_vmalloc_or_module_addr(const void *x)
{
return 0;
}