aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2018-06-20 21:36:48 +0200
committerKalle Valo <[email protected]>2018-06-27 19:12:43 +0300
commit81454b8405f24df8b24984698d62c5f560d01fe3 (patch)
tree00689c5c2f679aed00eb7978d265296d8a5c9b64 /tools/perf/scripts/python/stackcollapse.py
parenta3128feef6d516fecc33b6299266a4673454815f (diff)
zd1211rw: use irqsave() in USB's complete callback
The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the callback handler to disable the interrupts while acquiring the lock. The callback may be invoked either in IRQ or BH context depending on the USB host controller. Use the _irqsave() variant of the locking primitives. Cc: Daniel Drake <[email protected]> Cc: Ulrich Kunitz <[email protected]> Cc: Kalle Valo <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: [email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions