Skip to content

Commit

Permalink
NOMMU: Fallback for is_vmalloc_or_module_addr() should be inline
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dhowells authored and torvalds committed Sep 25, 2009
1 parent 645d83c commit 934831d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 934831d

Please sign in to comment.