]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/x86/include/asm/unistd.h
Merge tag 'libnvdimm-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / unistd.h
1 #ifndef _ASM_X86_UNISTD_H
2 #define _ASM_X86_UNISTD_H 1
3
4 #include <uapi/asm/unistd.h>
5
6
7 # ifdef CONFIG_X86_X32_ABI
8 # define __SYSCALL_MASK (~(__X32_SYSCALL_BIT))
9 # else
10 # define __SYSCALL_MASK (~0)
11 # endif
12
13 # ifdef CONFIG_X86_32
14
15 # include <asm/unistd_32.h>
16 # define __ARCH_WANT_STAT64
17 # define __ARCH_WANT_SYS_IPC
18 # define __ARCH_WANT_SYS_OLD_MMAP
19 # define __ARCH_WANT_SYS_OLD_SELECT
20
21 # else
22
23 # include <asm/unistd_64.h>
24 # include <asm/unistd_64_x32.h>
25 # define __ARCH_WANT_COMPAT_SYS_TIME
26 # define __ARCH_WANT_COMPAT_SYS_PREADV64
27 # define __ARCH_WANT_COMPAT_SYS_PWRITEV64
28 # define __ARCH_WANT_COMPAT_SYS_PREADV64V2
29 # define __ARCH_WANT_COMPAT_SYS_PWRITEV64V2
30
31 # endif
32
33 # define __ARCH_WANT_OLD_READDIR
34 # define __ARCH_WANT_OLD_STAT
35 # define __ARCH_WANT_SYS_ALARM
36 # define __ARCH_WANT_SYS_FADVISE64
37 # define __ARCH_WANT_SYS_GETHOSTNAME
38 # define __ARCH_WANT_SYS_GETPGRP
39 # define __ARCH_WANT_SYS_LLSEEK
40 # define __ARCH_WANT_SYS_NICE
41 # define __ARCH_WANT_SYS_OLDUMOUNT
42 # define __ARCH_WANT_SYS_OLD_GETRLIMIT
43 # define __ARCH_WANT_SYS_OLD_UNAME
44 # define __ARCH_WANT_SYS_PAUSE
45 # define __ARCH_WANT_SYS_SIGNAL
46 # define __ARCH_WANT_SYS_SIGPENDING
47 # define __ARCH_WANT_SYS_SIGPROCMASK
48 # define __ARCH_WANT_SYS_SOCKETCALL
49 # define __ARCH_WANT_SYS_TIME
50 # define __ARCH_WANT_SYS_UTIME
51 # define __ARCH_WANT_SYS_WAITPID
52 # define __ARCH_WANT_SYS_FORK
53 # define __ARCH_WANT_SYS_VFORK
54 # define __ARCH_WANT_SYS_CLONE
55
56 #endif /* _ASM_X86_UNISTD_H */