diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-03-20 23:01:05 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-05-23 03:14:41 +0300 |
commit | 43370036476707479a03a90e7e1c526dffbaad4b (patch) | |
tree | e8a4ece8eb91640942ae08c69719c0113594ffc6 /linux-headers/asm-powerpc | |
parent | 9882d3ef3c43fc89a0e1d43d7b52720092bef29b (diff) | |
download | qemu-43370036476707479a03a90e7e1c526dffbaad4b.zip qemu-43370036476707479a03a90e7e1c526dffbaad4b.tar.gz qemu-43370036476707479a03a90e7e1c526dffbaad4b.tar.bz2 |
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-powerpc')
-rw-r--r-- | linux-headers/asm-powerpc/bitsperlong.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linux-headers/asm-powerpc/bitsperlong.h b/linux-headers/asm-powerpc/bitsperlong.h new file mode 100644 index 0000000..46ece3e --- /dev/null +++ b/linux-headers/asm-powerpc/bitsperlong.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_POWERPC_BITSPERLONG_H +#define __ASM_POWERPC_BITSPERLONG_H + +#if defined(__powerpc64__) +# define __BITS_PER_LONG 64 +#else +# define __BITS_PER_LONG 32 +#endif + +#include <asm-generic/bitsperlong.h> + +#endif /* __ASM_POWERPC_BITSPERLONG_H */ |