summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/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/pseries/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/pseries/smp.c')
-rw-r--r--arch/powerpc/platforms/pseries/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c
index 12ff5bef67fd..0925ac396b10 100644
--- a/arch/powerpc/platforms/pseries/smp.c
+++ b/arch/powerpc/platforms/pseries/smp.c
@@ -202,6 +202,7 @@ static __init void pSeries_smp_probe(void)
static struct smp_ops_t pseries_smp_ops = {
.message_pass = NULL, /* Use smp_muxed_ipi_message_pass */
.cause_ipi = NULL, /* Filled at runtime by pSeries_smp_probe() */
+ .cause_nmi_ipi = NULL,
.probe = pSeries_smp_probe,
.kick_cpu = smp_pSeries_kick_cpu,
.setup_cpu = smp_setup_cpu,