summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-07-19 23:38:53 (GMT)
committerMax Filippov <jcmvbkbc@gmail.com>2014-08-14 07:59:13 (GMT)
commitf61bf8e7d19e0a3456a7a9ed97c399e4353698dc (patch)
tree41d997e58e850270f4892255af3c495de5d0f0c2 /arch/xtensa/kernel
parentad4a96b418aceed3f86882e7619bdccaf04c9ce0 (diff)
downloadlinux-f61bf8e7d19e0a3456a7a9ed97c399e4353698dc.tar.xz
xtensa: replace IOCTL code definitions with constants
This fixes userspace code that builds on other architectures but fails on xtensa due to references to structures that other architectures don't refer to. E.g. this fixes the following issue with python-2.7.8: python-2.7.8/Modules/termios.c:861:25: error: invalid application of 'sizeof' to incomplete type 'struct serial_multiport_struct' {"TIOCSERGETMULTI", TIOCSERGETMULTI}, python-2.7.8/Modules/termios.c:870:25: error: invalid application of 'sizeof' to incomplete type 'struct serial_multiport_struct' {"TIOCSERSETMULTI", TIOCSERSETMULTI}, python-2.7.8/Modules/termios.c:900:24: error: invalid application of 'sizeof' to incomplete type 'struct tty_struct' {"TIOCTTYGSTRUCT", TIOCTTYGSTRUCT}, Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel')
0 files changed, 0 insertions, 0 deletions