summaryrefslogtreecommitdiff
path: root/include/linux/swap.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-26 15:30:02 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-30 13:26:02 (GMT)
commit656acd2bbc4ce7f224de499ee255698701396c48 (patch)
tree8a6b0077d0bec8fec96ae3dfe28389c2909e6051 /include/linux/swap.h
parent4bbff7e408a54cce88d26191191e8bcda2a60d55 (diff)
downloadlinux-fsl-qoriq-656acd2bbc4ce7f224de499ee255698701396c48.tar.xz
Input: fix locking in force-feedback core
The newly added event_lock spinlock in the input core disallows sleeping and therefore using mutexes in event handlers. Convert force-feedback core to rely on event_lock instead of mutex to protect slots allocated for fore-feedback effects. The original mutex is still used to serialize uploading and erasing of effects. Reported-by: Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/swap.h')
0 files changed, 0 insertions, 0 deletions