summaryrefslogtreecommitdiffstats
path: root/linux-headers/asm-arm64
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-arm64
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-arm64')
-rw-r--r--linux-headers/asm-arm64/bitsperlong.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/linux-headers/asm-arm64/bitsperlong.h b/linux-headers/asm-arm64/bitsperlong.h
new file mode 100644
index 0000000000..485d60bee2
--- /dev/null
+++ b/linux-headers/asm-arm64/bitsperlong.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/*
+ * Copyright (C) 2012 ARM Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __ASM_BITSPERLONG_H
+#define __ASM_BITSPERLONG_H
+
+#define __BITS_PER_LONG 64
+
+#include <asm-generic/bitsperlong.h>
+
+#endif /* __ASM_BITSPERLONG_H */