aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-08-06 09:09:28 -0400
committerLive-CD User <linux@linux.site>2009-09-19 16:13:35 -0400
commite92166517e3ca9bfb416f91e69cf0373b55b6ede (patch)
treebaabe875b5592244a62f39e4fba302a1507502a1 /include/linux/tty.h
parent62b263585bb5005d44a764c90d80f9c4bb8188c1 (diff)
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 a0e03309a379..f0f43d08d8b8 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);
536extern int vt_ioctl(struct tty_struct *tty, struct file *file, 536extern int vt_ioctl(struct tty_struct *tty, struct file *file,
537 unsigned int cmd, unsigned long arg); 537 unsigned int cmd, unsigned long arg);
538 538
539extern long vt_compat_ioctl(struct tty_struct *tty, struct file * file,
540 unsigned int cmd, unsigned long arg);
541
539#endif /* __KERNEL__ */ 542#endif /* __KERNEL__ */
540#endif 543#endif