Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
}
}