diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-17 12:06:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-17 12:13:37 -0400 |
commit | 3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579 (patch) | |
tree | 4cd65e810725baf91b1dd27c91288388eb28c798 /include/linux/kbd_kern.h | |
parent | ce7240e445303de3ca66e6d08f17a2ec278a5bf6 (diff) |
vt: fix the keyboard/led locking
We touch the LED from both keyboard callback and direct paths. In
one case we've got the lock held way up the call chain and in the
other we haven't. This leads to complete insanity so fix it by giving
the LED bits their own lock.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kbd_kern.h')
-rw-r--r-- | include/linux/kbd_kern.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kbd_kern.h b/include/linux/kbd_kern.h index af9137db3035..b7c8cdc1d422 100644 --- a/include/linux/kbd_kern.h +++ b/include/linux/kbd_kern.h | |||
@@ -65,7 +65,6 @@ struct kbd_struct { | |||
65 | 65 | ||
66 | extern int kbd_init(void); | 66 | extern int kbd_init(void); |
67 | 67 | ||
68 | extern unsigned char getledstate(void); | ||
69 | extern void setledstate(struct kbd_struct *kbd, unsigned int led); | 68 | extern void setledstate(struct kbd_struct *kbd, unsigned int led); |
70 | 69 | ||
71 | extern int do_poke_blanked_console; | 70 | extern int do_poke_blanked_console; |