dect
/
linux-2.6
Archived
13
0
Fork 0

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 <jaeden.amero@ni.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jaeden Amero 2012-09-19 15:34:31 +01:00 committed by Greg Kroah-Hartman
parent 7b6d45c211
commit 84c3b84860
1 changed files with 2 additions and 0 deletions

View File

@ -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)