mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
4337003647
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>
17 lines
564 B
C
17 lines
564 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __ASM_GENERIC_BITS_PER_LONG
|
|
#define __ASM_GENERIC_BITS_PER_LONG
|
|
|
|
/*
|
|
* There seems to be no way of detecting this automatically from user
|
|
* space, so 64 bit architectures should override this in their
|
|
* bitsperlong.h. In particular, an architecture that supports
|
|
* both 32 and 64 bit user space must not rely on CONFIG_64BIT
|
|
* to decide it, but rather check a compiler provided macro.
|
|
*/
|
|
#ifndef __BITS_PER_LONG
|
|
#define __BITS_PER_LONG 32
|
|
#endif
|
|
|
|
#endif /* __ASM_GENERIC_BITS_PER_LONG */
|