aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-11-18 00:40:48 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-11-20 00:52:14 -0800
commit0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3 (patch)
tree91e207b9032e75988613f75fed949c43f60b3c21 /lib
parentInput: ALPS - add support for touchpads with 4-directional button (diff)
downloadlinux-dev-0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3.tar.xz
linux-dev-0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3.zip
Input: keyboard - fix theoretical race on vt switch
A VT switch can theoretically change fg_console between vc = vc_cons[fg_console].d and kbd = kbd_table + fg_console Fix it by replacing the second fg_console with vc->vc_num. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions