aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2018-06-25 00:08:45 +0200
committerGreg Kroah-Hartman <[email protected]>2018-06-28 19:36:07 +0900
commit4327059a14bb6d9578bfb82a6b7c59b3bbf78335 (patch)
treebfc99177a99ca36c01645c64df1c06eb9b57bd58 /tools/perf/scripts/python/stackcollapse.py
parentd7cdbdd024d978b9002a20223cc384d11a0a03ea (diff)
usb: legousbtower: 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: Juergen Stuber <[email protected]> Cc: [email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions