summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/smp.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-09-08 11:33:03 +0200
committerHelge Deller <deller@gmx.de>2019-09-08 15:19:58 +0200
commit507efd63d98c4437d62bbfa932b322e72723e1fc (patch)
tree6c9d7283f37f68b9153e0025b1703fa01b69d820 /arch/parisc/kernel/smp.c
parent08e697808f6823fa5dc833a344700f60b25a59d4 (diff)
downloadlinux-stable-507efd63d98c4437d62bbfa932b322e72723e1fc.tar.gz
linux-stable-507efd63d98c4437d62bbfa932b322e72723e1fc.tar.bz2
linux-stable-507efd63d98c4437d62bbfa932b322e72723e1fc.zip
parisc: add __pdc_cpu_rendezvous()
When stopping SMP cpus send them into rendezvous, so we can start them again later (when kexec'ing a new kernel). Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r--arch/parisc/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c
index cbd074ba22da..e202c37e56af 100644
--- a/arch/parisc/kernel/smp.c
+++ b/arch/parisc/kernel/smp.c
@@ -109,6 +109,7 @@ halt_processor(void)
/* REVISIT : does PM *know* this CPU isn't available? */
set_cpu_online(smp_processor_id(), false);
local_irq_disable();
+ __pdc_cpu_rendezvous();
for (;;)
;
}