diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2014-02-19 13:29:01 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-27 03:46:42 +0400 |
commit | a1227f3c1030e96ebc51d677d2f636268845c5fb (patch) | |
tree | a886ebd7fb7102a20de3a9fca88bee7efc3f8794 /include/trace/events/writeback.h | |
parent | 6dbd46c849e071e6afc1e0cad489b0175bca9318 (diff) | |
download | linux-a1227f3c1030e96ebc51d677d2f636268845c5fb.tar.xz |
usb: ehci: fix deadlock when threadirqs option is used
ehci_irq() and ehci_hrtimer_func() can deadlock on ehci->lock when
threadirqs option is used. To prevent the deadlock use
spin_lock_irqsave() in ehci_irq().
This change can be reverted when hrtimer callbacks become threaded.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace/events/writeback.h')
0 files changed, 0 insertions, 0 deletions