diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 3d7a50a08f5e..fbe24377eda3 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -201,7 +201,8 @@ static void cpu_ready_for_interrupts(void) | |||
201 | get_paca()->kernel_msr = MSR_KERNEL; | 201 | get_paca()->kernel_msr = MSR_KERNEL; |
202 | 202 | ||
203 | /* Enable AIL if supported */ | 203 | /* Enable AIL if supported */ |
204 | if (cpu_has_feature(CPU_FTR_ARCH_207S)) { | 204 | if (cpu_has_feature(CPU_FTR_HVMODE) && |
205 | cpu_has_feature(CPU_FTR_ARCH_207S)) { | ||
205 | unsigned long lpcr = mfspr(SPRN_LPCR); | 206 | unsigned long lpcr = mfspr(SPRN_LPCR); |
206 | mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); | 207 | mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3); |
207 | } | 208 | } |