diff options
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r-- | arch/x86/mm/init_32.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index cd8d67326138..0b087dcd2c18 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -467,22 +467,10 @@ void __init add_highpages_with_active_regions(int nid, unsigned long start_pfn, | |||
467 | work_with_active_regions(nid, add_highpages_work_fn, &data); | 467 | work_with_active_regions(nid, add_highpages_work_fn, &data); |
468 | } | 468 | } |
469 | 469 | ||
470 | #ifndef CONFIG_NUMA | ||
471 | static void __init set_highmem_pages_init(void) | ||
472 | { | ||
473 | add_highpages_with_active_regions(0, highstart_pfn, highend_pfn); | ||
474 | |||
475 | totalram_pages += totalhigh_pages; | ||
476 | } | ||
477 | #endif /* !CONFIG_NUMA */ | ||
478 | |||
479 | #else | 470 | #else |
480 | static inline void permanent_kmaps_init(pgd_t *pgd_base) | 471 | static inline void permanent_kmaps_init(pgd_t *pgd_base) |
481 | { | 472 | { |
482 | } | 473 | } |
483 | static inline void set_highmem_pages_init(void) | ||
484 | { | ||
485 | } | ||
486 | #endif /* CONFIG_HIGHMEM */ | 474 | #endif /* CONFIG_HIGHMEM */ |
487 | 475 | ||
488 | void __init native_pagetable_setup_start(pgd_t *base) | 476 | void __init native_pagetable_setup_start(pgd_t *base) |