summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-05-04 20:19:34 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 13:40:29 +0300
commit21bfd6a8e9999f40f9eae09ca6ba33e7f75f0be4 (patch)
tree101d96516abae008f75a8059b141ccc74938abfd /arch/powerpc/kernel/smp.c
parentbc9071133144acdbdb28cfc6ee5ce983d8fd5f81 (diff)
downloadlinux-21bfd6a8e9999f40f9eae09ca6ba33e7f75f0be4.tar.xz
powerpc: move a stray NMI IPI case under NMI_IPI ifdef
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 6f5e3a6e259c..b009a562c76b 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -194,7 +194,9 @@ const char *smp_ipi_name[] = {
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
[PPC_MSG_TICK_BROADCAST] = "ipi tick-broadcast",
#endif
+#ifdef CONFIG_NMI_IPI
[PPC_MSG_NMI_IPI] = "nmi ipi",
+#endif
};
/* optional function to request ipi, for controllers with >= 4 ipis */