summaryrefslogtreecommitdiff
path: root/arch/s390x/bits/ioctl_fix.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-09-12 00:45:45 +0200
committerRich Felker <dalias@aerifal.cx>2017-11-05 18:43:51 -0500
commit13935337f3e9bbf9db9e6403d761bc670ea1a6d5 (patch)
tree23eedfd197b6f385134391d5cfee579b4c69778f /arch/s390x/bits/ioctl_fix.h
parent4dc44ce8e2948aae55bc7dd6eda517167af7da32 (diff)
downloadmusl-13935337f3e9bbf9db9e6403d761bc670ea1a6d5.tar.gz
s390x: use generic ioctl.h
s390 can use the generic ioctls definitions other than FIOQSIZE (like arm). this fixes some missing ioctls and two incorrect ones: TIOCTTYGSTRUCT and TIOCM_MODEM_BITS seem to be defined on frv target only in linux.
Diffstat (limited to 'arch/s390x/bits/ioctl_fix.h')
-rw-r--r--arch/s390x/bits/ioctl_fix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390x/bits/ioctl_fix.h b/arch/s390x/bits/ioctl_fix.h
new file mode 100644
index 00000000..ebb383da
--- /dev/null
+++ b/arch/s390x/bits/ioctl_fix.h
@@ -0,0 +1,2 @@
+#undef FIOQSIZE
+#define FIOQSIZE 0x545e