diff options
author | Christoph Hellwig <hch@lst.de> | 2005-10-30 18:01:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:17 -0500 |
commit | 9c0cbd54ce0397017a823484f9a8054ab369b8a2 (patch) | |
tree | ac199e4dc6602afc3d2039a0dcff070ab294ba24 /fs | |
parent | 61e1a9ea4b425eb8c3b4965c35fe953bd881728f (diff) |
[PATCH] TIOC* compat ioctl handling
TIOCSTART and TIOCSTOP are defined in asm/ioctls.h and asm/termios.h by
various architectures but not actually implemented anywhere but in the IRIX
compatibility layer, so remove their COMPATIBLE_IOCTL from parisc, ppc64
and sparc64.
Move the TIOCSLTC COMPATIBLE_IOCTL to common code, guided by an ifdef to
only show up on architectures that support it (same as the code handling it
in tty_ioctl.c), aswell as it's brother TIOCGLTC that wasn't handled so
far.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/compat_ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index a327e03753ac..43dbcb0b21eb 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -3046,6 +3046,10 @@ HANDLE_IOCTL(RAW_GETBIND, raw_ioctl) | |||
3046 | /* Serial */ | 3046 | /* Serial */ |
3047 | HANDLE_IOCTL(TIOCGSERIAL, serial_struct_ioctl) | 3047 | HANDLE_IOCTL(TIOCGSERIAL, serial_struct_ioctl) |
3048 | HANDLE_IOCTL(TIOCSSERIAL, serial_struct_ioctl) | 3048 | HANDLE_IOCTL(TIOCSSERIAL, serial_struct_ioctl) |
3049 | #ifdef TIOCGLTC | ||
3050 | COMPATIBLE_IOCTL(TIOCGLTC) | ||
3051 | COMPATIBLE_IOCTL(TIOCSLTC) | ||
3052 | #endif | ||
3049 | /* Usbdevfs */ | 3053 | /* Usbdevfs */ |
3050 | HANDLE_IOCTL(USBDEVFS_CONTROL32, do_usbdevfs_control) | 3054 | HANDLE_IOCTL(USBDEVFS_CONTROL32, do_usbdevfs_control) |
3051 | HANDLE_IOCTL(USBDEVFS_BULK32, do_usbdevfs_bulk) | 3055 | HANDLE_IOCTL(USBDEVFS_BULK32, do_usbdevfs_bulk) |