From: Jaeden Amero Date: Wed, 19 Sep 2012 14:34:31 +0000 (+0100) Subject: compat_ioctl: Add RS-485 IOCTLs to the list X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84c3b84860440a9e3a3666c14112f41311b8f623;p=linux-beck.git compat_ioctl: Add RS-485 IOCTLs to the list The RS-485 TIOCSRS485 and TIOCGRS485 ioctls are 32-bit compatible, so in order to call them on 64-bit systems from 32-bit user mode, we add them to the ioctl pointer list as compatible ioctls. Signed-off-by: Jaeden Amero Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index debdfe0fc809..85dfebfe6820 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -866,6 +866,8 @@ COMPATIBLE_IOCTL(TIOCGPTN) COMPATIBLE_IOCTL(TIOCSPTLCK) COMPATIBLE_IOCTL(TIOCSERGETLSR) COMPATIBLE_IOCTL(TIOCSIG) +COMPATIBLE_IOCTL(TIOCSRS485) +COMPATIBLE_IOCTL(TIOCGRS485) #ifdef TCGETS2 COMPATIBLE_IOCTL(TCGETS2) COMPATIBLE_IOCTL(TCSETS2)