diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-08-06 09:09:28 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:35 -0400 |
commit | e92166517e3ca9bfb416f91e69cf0373b55b6ede (patch) | |
tree | baabe875b5592244a62f39e4fba302a1507502a1 /drivers/char/vt.c | |
parent | 62b263585bb5005d44a764c90d80f9c4bb8188c1 (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 'drivers/char/vt.c')
-rw-r--r-- | drivers/char/vt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 33214d92ca4c..5dfbfa7d7606 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -2910,6 +2910,9 @@ static const struct tty_operations con_ops = { | |||
2910 | .flush_chars = con_flush_chars, | 2910 | .flush_chars = con_flush_chars, |
2911 | .chars_in_buffer = con_chars_in_buffer, | 2911 | .chars_in_buffer = con_chars_in_buffer, |
2912 | .ioctl = vt_ioctl, | 2912 | .ioctl = vt_ioctl, |
2913 | #ifdef CONFIG_COMPAT | ||
2914 | .compat_ioctl = vt_compat_ioctl, | ||
2915 | #endif | ||
2913 | .stop = con_stop, | 2916 | .stop = con_stop, |
2914 | .start = con_start, | 2917 | .start = con_start, |
2915 | .throttle = con_throttle, | 2918 | .throttle = con_throttle, |