diff options
author | David Howells <dhowells@redhat.com> | 2012-12-14 22:37:13 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-12-14 22:37:13 (GMT) |
commit | af170c5061dd78512c469e6e2d211980cdb2c193 (patch) | |
tree | a3bb86ee66b69f832b6783124cc0482ce8058cd8 /arch/x86/include/uapi/asm/unistd.h | |
parent | d42b3a2906a10b732ea7d7f849d49be79d242ef0 (diff) | |
download | linux-fsl-qoriq-af170c5061dd78512c469e6e2d211980cdb2c193.tar.xz |
UAPI: (Scripted) Disintegrate arch/x86/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/unistd.h')
-rw-r--r-- | arch/x86/include/uapi/asm/unistd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/unistd.h b/arch/x86/include/uapi/asm/unistd.h new file mode 100644 index 0000000..a26df0d --- /dev/null +++ b/arch/x86/include/uapi/asm/unistd.h @@ -0,0 +1,17 @@ +#ifndef _UAPI_ASM_X86_UNISTD_H +#define _UAPI_ASM_X86_UNISTD_H + +/* x32 syscall flag bit */ +#define __X32_SYSCALL_BIT 0x40000000 + +#ifndef __KERNEL__ +# ifdef __i386__ +# include <asm/unistd_32.h> +# elif defined(__ILP32__) +# include <asm/unistd_x32.h> +# else +# include <asm/unistd_64.h> +# endif +#endif + +#endif /* _UAPI_ASM_X86_UNISTD_H */ |