Revert "powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL"
This reverts commit e97c59c35e
.
This commit is contained in:
parent
495ede5554
commit
e8049e38f9
2 changed files with 2 additions and 1 deletions
|
@ -908,7 +908,6 @@ void __init setup_arch(char **cmdline_p)
|
|||
mem_topology_setup();
|
||||
/* Set max_mapnr before paging_init() */
|
||||
set_max_mapnr(max_pfn);
|
||||
high_memory = (void *)__va(max_low_pfn * PAGE_SIZE);
|
||||
|
||||
/*
|
||||
* Release secondary cpus out of their spinloops at 0x60 now that
|
||||
|
|
|
@ -292,6 +292,8 @@ void __init mem_init(void)
|
|||
swiotlb_init(0);
|
||||
#endif
|
||||
|
||||
high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);
|
||||
|
||||
kasan_late_init();
|
||||
|
||||
memblock_free_all();
|
||||
|
|
Loading…
Reference in a new issue