diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-11 20:45:01 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:40:18 -0700 |
commit | 4eed408a0ba807eacbab3c93c7096cf4ff002b9a (patch) | |
tree | 6257baccdd68fded130acbd22ce083d10848b327 /mm | |
parent | e81cffc4efaae6fdceb377e9b83bab05be663931 (diff) |
sparc64: Do not disable interrupts in nmi_cpu_busy()
[ Upstream commit 58556104e9cd0107a7a8d2692cf04ef31669f6e4 ]
nmi_cpu_busy() is a SMP function call that just makes sure that all of the
cpus are spinning using cpu cycles while the NMI test runs.
It does not need to disable IRQs because we just care about NMIs executing
which will even with 'normal' IRQs disabled.
It is not legal to enable hard IRQs in a SMP cross call, in fact this bug
triggers the BUG check in irq_work_run_list():
BUG_ON(!irqs_disabled());
Because now irq_work_run() is invoked from the tail of
generic_smp_call_function_single_interrupt().
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions