diff options
| author | Arjan van de Ven <[email protected]> | 2008-11-24 03:35:57 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2008-11-24 16:36:38 +0000 |
| commit | 8442c87d2f6c73cdc9a391e4dd9390523d242bda (patch) | |
| tree | aa2ad9cc222dfbe7b605675707d68288800823f3 /net/unix/af_unix.c | |
| parent | Input: i8042 - add Compal Hel80 laptop to nomux blacklist (diff) | |
| download | kernel-8442c87d2f6c73cdc9a391e4dd9390523d242bda.tar.gz kernel-8442c87d2f6c73cdc9a391e4dd9390523d242bda.zip | |
Input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback
ml_ff_playback() uses spin_(un)lock_bh. However this function is
called with interrupts disabled from erase_effect() in
drivers/input/ff-core.c:196.
This is not permitted, and will result in a WARN_ON in the bottom
half handling code. This patch changes this function to just use
spin_lock_irqsave() instead, solving the problem and simplifying
the locking logic.
This was reported as entry #106559 in kerneloops.org
Reported-by: kerneloops.org
Signed-off-by: Arjan van de Ven <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
