Input: sysrq - add locking to sysrq_filter()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:04:21 +0000 (18:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 30 Sep 2010 01:26:11 +0000 (18:26 -0700)
commit1966cb225c6f9040ca163802cbd052c393d4448f
treebc6e6536d67d8f3752afb480b412d51e65568a83
parent594d63632024636a962be508dfe5ee6bfd309160
Input: sysrq - add locking to sysrq_filter()

Similarly to the keyboard handler, we are called by different input
devices and thus need to add spinlock if we want to maintain our
state properly.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/sysrq.c