powerpc/mm: Do radix device tree scanning earlier
Like we just did for hash, split the device tree scanning parts out and call them from mmu_early_init_devtree(). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
@@ -427,7 +427,9 @@ void __init mmu_early_init_devtree(void)
|
||||
if (disable_radix)
|
||||
cur_cpu_spec->mmu_features &= ~MMU_FTR_RADIX;
|
||||
|
||||
if (!radix_enabled())
|
||||
if (radix_enabled())
|
||||
radix__early_init_devtree();
|
||||
else
|
||||
hash__early_init_devtree();
|
||||
}
|
||||
#endif /* CONFIG_PPC_STD_MMU_64 */
|
||||
|
Reference in New Issue
Block a user