powerpc/watchdog: Do not backtrace locked CPUs twice if allcpus backtrace is enabled
authorNicholas Piggin <npiggin@gmail.com>
Fri, 29 Sep 2017 03:29:38 +0000 (13:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Oct 2017 00:25:50 +0000 (11:25 +1100)
commitd58fdd9d7f220f34830838af4e7b21854469ae8a
tree2d4aebf7357f3a71dd567f80cb050db39101ab8b
parent842dc1dbabb5e874550b52d896851e5e53e28a5f
powerpc/watchdog: Do not backtrace locked CPUs twice if allcpus backtrace is enabled

If sysctl_hardlockup_all_cpu_backtrace is enabled, there is no need to
IPI stuck CPUs for backtrace before trigger_allbutself_cpu_backtrace(),
which does the same thing again.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/watchdog.c