From: Christoph Hellwig Date: Tue, 10 Jan 2006 04:52:05 +0000 (-0800) Subject: [PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390 X-Git-Tag: v2.6.16-rc1~613 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51a990588a3e38f7963964813786fa4f0da43ecc;p=linux-2.6 [PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390 These ioctls are definitely not compat clean, but we already have a proper handler in common code, over-riding it in architecture code is counter-productive. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/s390/kernel/compat_ioctl.c b/arch/s390/kernel/compat_ioctl.c index 9cf8fd24cd..da473bda96 100644 --- a/arch/s390/kernel/compat_ioctl.c +++ b/arch/s390/kernel/compat_ioctl.c @@ -65,10 +65,6 @@ COMPATIBLE_IOCTL(BIODASDCMFDISABLE) COMPATIBLE_IOCTL(BIODASDREADALLCMB) COMPATIBLE_IOCTL(TAPE390_DISPLAY) - -/* s390 doesn't need handlers here */ -COMPATIBLE_IOCTL(TIOCGSERIAL) -COMPATIBLE_IOCTL(TIOCSSERIAL) }; int ioctl_table_size = ARRAY_SIZE(ioctl_start);