Message ID | 20160722163147.73579b85@canb.auug.org.au (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 341632471b9d..7c50b4b79c84 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -931,8 +931,10 @@ void __init hash__early_init_mmu(void) ps3_early_mm_init(); else if (firmware_has_feature(FW_FEATURE_LPAR)) hpte_init_lpar(); +#ifdef CONFIG_PPC_NATIVE else hpte_init_native(); +#endif /* Initialize the MMU Hash table and create the linear mapping * of memory. Has to be done before SLB initialization as this is