aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c12
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
471static 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
480static inline void permanent_kmaps_init(pgd_t *pgd_base) 471static inline void permanent_kmaps_init(pgd_t *pgd_base)
481{ 472{
482} 473}
483static inline void set_highmem_pages_init(void)
484{
485}
486#endif /* CONFIG_HIGHMEM */ 474#endif /* CONFIG_HIGHMEM */
487 475
488void __init native_pagetable_setup_start(pgd_t *base) 476void __init native_pagetable_setup_start(pgd_t *base)