summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-11-23 16:57:36 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 10:36:51 -0800
commit211f05a034f49586fdd071abd174853217ec29ee (patch)
treea23a1dd79b65049855e9344df42305442aa2a170 /arch/ia64
parent02d0e6753d8ab0173b63338157929e52eac86d12 (diff)
downloadlinux-211f05a034f49586fdd071abd174853217ec29ee.tar.gz
linux-211f05a034f49586fdd071abd174853217ec29ee.tar.bz2
linux-211f05a034f49586fdd071abd174853217ec29ee.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 <arjan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions