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>
This commit is contained in:

committed by
Michael Ellerman

parent
ddd703ca06
commit
c64af6458e
@@ -417,6 +417,9 @@ out:
|
||||
|
||||
static void do_smp_send_nmi_ipi(int cpu)
|
||||
{
|
||||
if (smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu))
|
||||
return;
|
||||
|
||||
if (cpu >= 0) {
|
||||
do_message_pass(cpu, PPC_MSG_NMI_IPI);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user