]> git.baikalelectronics.ru Git - kernel.git/commit
compat_ioctl: Add RS-485 IOCTLs to the list
authorJaeden Amero <jaeden.amero@ni.com>
Wed, 19 Sep 2012 14:34:31 +0000 (15:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:51:09 +0000 (09:51 -0700)
commit202c6581b3f88d4577239ae236cc12dfe5e70a22
treed9d9eab973ac8de9f440a4ea4e6a3dc6b4afd7bd
parentcd54891c92132824ce339a1c7308f1938cd2cfd0
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>
fs/compat_ioctl.c