git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bb21b
)
Input: keyboard - fix theoretical race on vt switch
author
Alan Jenkins
<alan-jenkins@tuffmail.co.uk>
Wed, 18 Nov 2009 08:40:48 +0000
(
00:40
-0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 20 Nov 2009 08:52:14 +0000
(
00:52
-0800)
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>
No differences found