diff options
-rw-r--r-- | arch/x86/mm/init_32.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 800e1d94c1b5..ad98b18f2b48 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -434,8 +434,12 @@ static void __init set_highmem_pages_init(void) | |||
434 | #endif /* !CONFIG_NUMA */ | 434 | #endif /* !CONFIG_NUMA */ |
435 | 435 | ||
436 | #else | 436 | #else |
437 | # define permanent_kmaps_init(pgd_base) do { } while (0) | 437 | static inline void permanent_kmaps_init(pgd_t *pgd_base) |
438 | # define set_highmem_pages_init() do { } while (0) | 438 | { |
439 | } | ||
440 | static inline void set_highmem_pages_init(void) | ||
441 | { | ||
442 | } | ||
439 | #endif /* CONFIG_HIGHMEM */ | 443 | #endif /* CONFIG_HIGHMEM */ |
440 | 444 | ||
441 | void __init native_pagetable_setup_start(pgd_t *base) | 445 | void __init native_pagetable_setup_start(pgd_t *base) |