diff options
author | James Hogan <[email protected]> | 2013-07-01 15:36:38 +0100 |
---|---|---|
committer | James Hogan <[email protected]> | 2013-07-02 14:12:22 +0100 |
commit | 8b8b2412994fffd5a8ab3b9209fa0aa9f0fcee4c (patch) | |
tree | 81b1d11fc31cefafe40ca39811d033a821be5285 /net/unix/sysctl_net_unix.c | |
parent | f6b30d32d242243a967993789c4cf550d840727e (diff) |
metag: cpu hotplug: route_irq: preserve irq mask
The route_irq() function needs to preserve the irq mask by using the
_irqsave/irqrestore variants of raw spin lock functions instead of the
_irq variants. This is because it is called from __cpu_disable() (via
migrate_irqs()), which is called with IRQs disabled, so using the _irq
variants re-enables IRQs.
This appears to have been causing occasional hits of the
BUG_ON(!irqs_disabled()) in __irq_work_run() during CPU hotplug soak
testing:
BUG: failure at kernel/irq_work.c:122/__irq_work_run()!
Signed-off-by: James Hogan <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Reviewed-by: Srivatsa S. Bhat <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions