diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-10-09 17:17:17 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-10-22 14:34:48 +0300 |
| commit | 1842bdfdbac2ec46f2934d8914c874db83dd1344 (patch) | |
| tree | 79b69f646ed48588f60cd58e436d52e60f796b2d /linux-headers/asm-x86/unistd.h | |
| parent | 751bcc3981d80594a3943166401af15b76781a5b (diff) | |
| download | focaccia-qemu-1842bdfdbac2ec46f2934d8914c874db83dd1344.tar.gz focaccia-qemu-1842bdfdbac2ec46f2934d8914c874db83dd1344.zip | |
linux-headers: add unistd.h
New syscalls are not yet widely distributed. Add them to qemu linux-headers include directory. Update based on v4.3-rc3 kernel headers. Exclude mips for now, which is more problematic due to extra header inclusion and probably unnecessary here. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
Diffstat (limited to 'linux-headers/asm-x86/unistd.h')
| -rw-r--r-- | linux-headers/asm-x86/unistd.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linux-headers/asm-x86/unistd.h b/linux-headers/asm-x86/unistd.h new file mode 100644 index 0000000000..1f99b12843 --- /dev/null +++ b/linux-headers/asm-x86/unistd.h @@ -0,0 +1,15 @@ +#ifndef _ASM_X86_UNISTD_H +#define _ASM_X86_UNISTD_H + +/* x32 syscall flag bit */ +#define __X32_SYSCALL_BIT 0x40000000 + +# ifdef __i386__ +# include <asm/unistd_32.h> +# elif defined(__ILP32__) +# include <asm/unistd_x32.h> +# else +# include <asm/unistd_64.h> +# endif + +#endif /* _ASM_X86_UNISTD_H */ |