summaryrefslogtreecommitdiffstats
path: root/linux-headers/asm-s390/bitsperlong.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2018-03-20 22:01:05 +0100
committerMichael S. Tsirkin2018-05-23 02:14:41 +0200
commit43370036476707479a03a90e7e1c526dffbaad4b (patch)
treee8a4ece8eb91640942ae08c69719c0113594ffc6 /linux-headers/asm-s390/bitsperlong.h
parentupdate-linux-headers.sh: unistd.h, kvm consistency (diff)
downloadqemu-43370036476707479a03a90e7e1c526dffbaad4b.tar.gz
qemu-43370036476707479a03a90e7e1c526dffbaad4b.tar.xz
qemu-43370036476707479a03a90e7e1c526dffbaad4b.zip
linux-headers: add unistd.h on all arches
This adds unistd.h on ARM64 and MIPS and their dependencies. Updated to Linux 4.17-rc2. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-headers/asm-s390/bitsperlong.h')
-rw-r--r--linux-headers/asm-s390/bitsperlong.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-headers/asm-s390/bitsperlong.h b/linux-headers/asm-s390/bitsperlong.h
new file mode 100644
index 0000000000..cceaf47b02
--- /dev/null
+++ b/linux-headers/asm-s390/bitsperlong.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef __ASM_S390_BITSPERLONG_H
+#define __ASM_S390_BITSPERLONG_H
+
+#ifndef __s390x__
+#define __BITS_PER_LONG 32
+#else
+#define __BITS_PER_LONG 64
+#endif
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* __ASM_S390_BITSPERLONG_H */
+