[PATCH] TIOC* compat ioctl handling
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2005 23:01:41 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:17 +0000 (17:37 -0800)
commit9c0cbd54ce0397017a823484f9a8054ab369b8a2
treeac199e4dc6602afc3d2039a0dcff070ab294ba24
parent61e1a9ea4b425eb8c3b4965c35fe953bd881728f
[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>
arch/parisc/kernel/ioctl32.c
arch/ppc64/kernel/ioctl32.c
arch/sparc64/kernel/ioctl32.c
fs/compat_ioctl.c