diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-08-06 15:09:28 +0200 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:35 -0700 |
commit | e92166517e3ca9bfb416f91e69cf0373b55b6ede (patch) | |
tree | baabe875b5592244a62f39e4fba302a1507502a1 /include/linux/tty.h | |
parent | 62b263585bb5005d44a764c90d80f9c4bb8188c1 (diff) | |
download | blackbird-op-linux-e92166517e3ca9bfb416f91e69cf0373b55b6ede.tar.gz blackbird-op-linux-e92166517e3ca9bfb416f91e69cf0373b55b6ede.zip |
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.h | 3 |
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); 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 |