summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powermac/smp.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-12-19 21:30:09 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-28 14:02:25 +0300
commitc64af6458e2e2ddf86aff559837d3925fbf9cbb5 (patch)
tree63993fee176303787f76ebc95381bb438e41ea27 /arch/powerpc/platforms/powermac/smp.c
parentddd703ca06ede1b2d01ed1b0cb8d4315ab808099 (diff)
downloadlinux-c64af6458e2e2ddf86aff559837d3925fbf9cbb5.tar.xz
powerpc: Add struct smp_ops_t.cause_nmi_ipi operation
Have the NMI IPI code use this op when the platform defines it. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r--arch/powerpc/platforms/powermac/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
index a3207cea360e..2cd99eb30762 100644
--- a/arch/powerpc/platforms/powermac/smp.c
+++ b/arch/powerpc/platforms/powermac/smp.c
@@ -447,6 +447,7 @@ void __init smp_psurge_give_timebase(void)
struct smp_ops_t psurge_smp_ops = {
.message_pass = NULL, /* Use smp_muxed_ipi_message_pass */
.cause_ipi = smp_psurge_cause_ipi,
+ .cause_nmi_ipi = NULL,
.probe = smp_psurge_probe,
.kick_cpu = smp_psurge_kick_cpu,
.setup_cpu = smp_psurge_setup_cpu,