aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kbd_kern.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-17 17:06:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-17 09:13:37 -0700
commit3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579 (patch)
tree4cd65e810725baf91b1dd27c91288388eb28c798 /include/linux/kbd_kern.h
parent8250: three way resolve of the 8250 diffs (diff)
downloadlinux-dev-3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579.tar.xz
linux-dev-3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579.zip
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.h1
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 {
extern int kbd_init(void);
-extern unsigned char getledstate(void);
extern void setledstate(struct kbd_struct *kbd, unsigned int led);
extern int do_poke_blanked_console;