diff options
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index b9855f1b290a..adf2084f214b 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -113,14 +113,12 @@ void __init setup_tlb_core_data(void) | |||
113 | * If we have threads, we need either tlbsrx. | 113 | * If we have threads, we need either tlbsrx. |
114 | * or e6500 tablewalk mode, or else TLB handlers | 114 | * or e6500 tablewalk mode, or else TLB handlers |
115 | * will be racy and could produce duplicate entries. | 115 | * will be racy and could produce duplicate entries. |
116 | * Should we panic instead? | ||
116 | */ | 117 | */ |
117 | if (smt_enabled_at_boot >= 2 && | 118 | WARN_ONCE(smt_enabled_at_boot >= 2 && |
118 | !mmu_has_feature(MMU_FTR_USE_TLBRSRV) && | 119 | !mmu_has_feature(MMU_FTR_USE_TLBRSRV) && |
119 | book3e_htw_mode != PPC_HTW_E6500) { | 120 | book3e_htw_mode != PPC_HTW_E6500, |
120 | /* Should we panic instead? */ | 121 | "%s: unsupported MMU configuration\n", __func__); |
121 | WARN_ONCE("%s: unsupported MMU configuration -- expect problems\n", | ||
122 | __func__); | ||
123 | } | ||
124 | } | 122 | } |
125 | } | 123 | } |
126 | #endif | 124 | #endif |