Message ID | 20181126020107.17250-4-npiggin@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6fe243fe5157076f3b8d88a02f064b41a4b7eec2 |
Headers | show |
Series | Fix NMI IPI timeouts | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | next/apply_patch Successfully applied |
snowpatch_ozlabs/build-ppc64le | success | build succeded & removed 1 sparse warning(s) |
snowpatch_ozlabs/build-ppc64be | success | build succeded & removed 1 sparse warning(s) |
snowpatch_ozlabs/build-ppc64e | success | build succeded & removed 1 sparse warning(s) |
snowpatch_ozlabs/build-pmac32 | success | build succeded & removed 0 sparse warning(s) |
snowpatch_ozlabs/checkpatch | warning | total: 0 errors, 1 warnings, 1 checks, 9 lines checked |
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 6e521a3f67ca..5366d9e7bed4 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -462,7 +462,8 @@ static void do_smp_send_nmi_ipi(int cpu, bool safe) * - delay_us > 0 is the delay before giving up waiting for targets to * begin executing the handler, == 0 specifies indefinite delay. */ -int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us, bool safe) +static int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), + u64 delay_us, bool safe) { unsigned long flags; int me = raw_smp_processor_id();
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- arch/powerpc/kernel/smp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)