brintos

brintos / linux-shallow public Read only

0
0
Text · 664 B · be5e2e7 Raw
26 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2#ifndef _UAPI_ASM_X86_UNISTD_H3#define _UAPI_ASM_X86_UNISTD_H4 5/*6 * x32 syscall flag bit.  Some user programs expect syscall NR macros7 * and __X32_SYSCALL_BIT to have type int, even though syscall numbers8 * are, for practical purposes, unsigned long.9 *10 * Fortunately, expressions like (nr & ~__X32_SYSCALL_BIT) do the right11 * thing regardless.12 */13#define __X32_SYSCALL_BIT	0x4000000014 15#ifndef __KERNEL__16# ifdef __i386__17#  include <asm/unistd_32.h>18# elif defined(__ILP32__)19#  include <asm/unistd_x32.h>20# else21#  include <asm/unistd_64.h>22# endif23#endif24 25#endif /* _UAPI_ASM_X86_UNISTD_H */26