aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vt_kern.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-02-24 12:47:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 13:59:34 -0800
commit247ff8e610cb63c015de19191db9666754c2ed79 (patch)
treee4d097c10c6211ff05f9d8ec6669c584de9e08ae /include/linux/vt_kern.h
parentRevert "TTY: pty, remove superfluous ptm test" (diff)
downloadwireguard-linux-247ff8e610cb63c015de19191db9666754c2ed79.tar.xz
wireguard-linux-247ff8e610cb63c015de19191db9666754c2ed79.zip
vt: lock the accent table
First step to debletcherising the vt console layer - pick a victim and fix the locking This is a nice simple object with its own rules so lets pick it out for treatment. The user of the table already has a lock so we will also use the same lock for updates. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/vt_kern.h')
-rw-r--r--include/linux/vt_kern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/vt_kern.h b/include/linux/vt_kern.h
index c2164fad0083..5d8726ad5729 100644
--- a/include/linux/vt_kern.h
+++ b/include/linux/vt_kern.h
@@ -167,4 +167,7 @@ extern int unregister_vt_notifier(struct notifier_block *nb);
extern void hide_boot_cursor(bool hide);
+/* keyboard provided interfaces */
+extern int vt_do_diacrit(unsigned int cmd, void __user *up, int eperm);
+
#endif /* _VT_KERN_H */