aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-08-06 15:09:28 +0200
committerLive-CD User <linux@linux.site>2009-09-19 13:13:35 -0700
commite92166517e3ca9bfb416f91e69cf0373b55b6ede (patch)
treebaabe875b5592244a62f39e4fba302a1507502a1 /include/linux/tty.h
parent62b263585bb5005d44a764c90d80f9c4bb8188c1 (diff)
downloadkernel_samsung_smdk4412-e92166517e3ca9bfb416f91e69cf0373b55b6ede.zip
kernel_samsung_smdk4412-e92166517e3ca9bfb416f91e69cf0373b55b6ede.tar.gz
kernel_samsung_smdk4412-e92166517e3ca9bfb416f91e69cf0373b55b6ede.tar.bz2
tty: handle VT specific compat ioctls in vt driver
The VT specific compat_ioctl handlers are the only ones in common code that require the BKL. Moving them into the vt driver lets us remove the BKL from the other handlers and cleans up the code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index a0e0330..f0f43d0 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -536,5 +536,8 @@ extern int pcxe_open(struct tty_struct *tty, struct file *filp);
extern int vt_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg);
+extern long vt_compat_ioctl(struct tty_struct *tty, struct file * file,
+ unsigned int cmd, unsigned long arg);
+
#endif /* __KERNEL__ */
#endif