summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/smp.h
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/include/asm/smp.h
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/include/asm/smp.h')
-rw-r--r--arch/powerpc/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
index 78c311ee0049..ebddb2111d87 100644
--- a/arch/powerpc/include/asm/smp.h
+++ b/arch/powerpc/include/asm/smp.h
@@ -42,6 +42,7 @@ struct smp_ops_t {
#ifdef CONFIG_PPC_SMP_MUXED_IPI
void (*cause_ipi)(int cpu);
#endif
+ int (*cause_nmi_ipi)(int cpu);
void (*probe)(void);
int (*kick_cpu)(int nr);
int (*prepare_cpu)(int nr);