diff options
| author | Harvey Yang <harvey.huawei.yang@gmail.com> | 2013-01-22 13:31:30 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-22 09:00:10 -0800 |
| commit | dcf14779280215d1765141ce04c675df3e4301c5 (patch) | |
| tree | 3924edec0e5a56e4c70fdc57403de3c4c6a7e88f /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 26ef1021c1c7ba62a2790296546945022468e17d (diff) | |
staging: usbip: use interrupt safe spinlock to avoid potential deadlock.
The function 'usbip_event_add()' may be called in interrupt context on
the stub side:
'stub_complete'->'stub_enqueue_ret_unlink'->'usbip_event_add'.
In this function it tries to get the lock 'ud->lock', so we should
disable irq when we get this lock in process context.
Signed-off-by: Harvey Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions
