aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/smp.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-16 16:08:32 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-16 16:08:32 +0200
commit3f04e3d3eb77ac9df70619b9c87da71b0eeddc36 (patch)
treecf1cbadc390888d1910a81ffc40161f783363075 /arch/powerpc/platforms/powernv/smp.c
parent8cffcb0ca33381e07cee4ebe1301d0794054fc97 (diff)
parent2779ac167b1a1bf8153dca9f3a141c6148c6b89f (diff)
downloadkernel_replicant_linux-3f04e3d3eb77ac9df70619b9c87da71b0eeddc36.tar.gz
kernel_replicant_linux-3f04e3d3eb77ac9df70619b9c87da71b0eeddc36.tar.bz2
kernel_replicant_linux-3f04e3d3eb77ac9df70619b9c87da71b0eeddc36.zip
Merge remote-tracking branch 'tip/timers/core/timers/core' into clockevents/3.16
Diffstat (limited to 'arch/powerpc/platforms/powernv/smp.c')
-rw-r--r--arch/powerpc/platforms/powernv/smp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/smp.c b/arch/powerpc/platforms/powernv/smp.c
index 908672bdcea6..bf5fcd452168 100644
--- a/arch/powerpc/platforms/powernv/smp.c
+++ b/arch/powerpc/platforms/powernv/smp.c
@@ -30,6 +30,7 @@
#include <asm/cputhreads.h>
#include <asm/xics.h>
#include <asm/opal.h>
+#include <asm/runlatch.h>
#include "powernv.h"
@@ -156,7 +157,9 @@ static void pnv_smp_cpu_kill_self(void)
*/
mtspr(SPRN_LPCR, mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1);
while (!generic_check_cpu_restart(cpu)) {
+ ppc64_runlatch_off();
power7_nap();
+ ppc64_runlatch_on();
if (!generic_check_cpu_restart(cpu)) {
DBG("CPU%d Unexpected exit while offline !\n", cpu);
/* We may be getting an IPI, so we re-enable