]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Input: mac_hid - add lockdep annotation to emumousebtn
authorPeter Zijlstra <peterz@infradead.org>
Fri, 18 Apr 2008 04:25:38 +0000 (00:25 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 24 Apr 2008 17:25:13 +0000 (13:25 -0400)
commit8fd76c4506817a93718fab0d6b3a55b9becc9f2c
tree897f0a659dfa193230be6590443c3d675ba8c244
parent8c6deb9c8fd29feaeae3aae500608beac777ea9e
Input: mac_hid - add lockdep annotation to emumousebtn

The mouse button emulation calls input device methods from an input
device. This causes funny lock nesting which is harmless as each
device has its own locks.

Give the nesting device its own lock classes so that lockdep will not
consider them the same.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/macintosh/mac_hid.c