Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0437c52 | 2013-11-07 14:16:29 -0800 | [diff] [blame] | 2 | #ifndef _UAPI_ASM_X86_UNISTD_H |
| 3 | #define _UAPI_ASM_X86_UNISTD_H |
| 4 | |
| 5 | /* x32 syscall flag bit */ |
| 6 | #define __X32_SYSCALL_BIT 0x40000000 |
| 7 | |
| 8 | #ifndef __KERNEL__ |
| 9 | # ifdef __i386__ |
| 10 | # include <asm/unistd_32.h> |
| 11 | # elif defined(__ILP32__) |
| 12 | # include <asm/unistd_x32.h> |
| 13 | # else |
| 14 | # include <asm/unistd_64.h> |
| 15 | # endif |
| 16 | #endif |
| 17 | |
| 18 | #endif /* _UAPI_ASM_X86_UNISTD_H */ |