From: Alan Jenkins Date: Wed, 18 Nov 2009 08:40:48 +0000 (-0800) Subject: Input: keyboard - fix theoretical race on vt switch X-Git-Tag: v2.6.33-rc1~337^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed