diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 59aa92cd6fa4..13e91c4d70a8 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -215,12 +215,10 @@ void __init early_setup(unsigned long dt_ptr) | |||
215 | /* | 215 | /* |
216 | * Initialize stab / SLB management except on iSeries | 216 | * Initialize stab / SLB management except on iSeries |
217 | */ | 217 | */ |
218 | if (!firmware_has_feature(FW_FEATURE_ISERIES)) { | 218 | if (cpu_has_feature(CPU_FTR_SLB)) |
219 | if (cpu_has_feature(CPU_FTR_SLB)) | 219 | slb_initialize(); |
220 | slb_initialize(); | 220 | else if (!firmware_has_feature(FW_FEATURE_ISERIES)) |
221 | else | 221 | stab_initialize(get_paca()->stab_real); |
222 | stab_initialize(get_paca()->stab_real); | ||
223 | } | ||
224 | 222 | ||
225 | DBG(" <- early_setup()\n"); | 223 | DBG(" <- early_setup()\n"); |
226 | } | 224 | } |