projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
645d83c
)
NOMMU: Fallback for is_vmalloc_or_module_addr() should be inline
author
David Howells
<dhowells@redhat.com>
Thu, 24 Sep 2009 11:33:32 +0000
(12:33 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Sep 2009 00:20:20 +0000
(17:20 -0700)
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>
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index df08551cb0ad04aa6a16e03c8ab7b40999995bdf..24c395694f4d3fbbc935287018e8dce157215afb 100644
(file)
--- 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 in
line in
t is_vmalloc_or_module_addr(const void *x)
{
return 0;
}