xref: /linux/arch/arm64/include/asm/unistd.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1caab277bSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
27992d60dSCatalin Marinas /*
37992d60dSCatalin Marinas  * Copyright (C) 2012 ARM Ltd.
47992d60dSCatalin Marinas  */
51c1e4362SDavid Howells #ifdef CONFIG_COMPAT
6f18ed30dSGuo Ren #define __ARCH_WANT_COMPAT_STAT
7f3d447a9SCatalin Marinas #define __ARCH_WANT_COMPAT_STAT64
8f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_GETHOSTNAME
9f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_PAUSE
10f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_GETPGRP
11f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_NICE
12f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_SIGPENDING
13f3d447a9SCatalin Marinas #define __ARCH_WANT_SYS_SIGPROCMASK
14f3d447a9SCatalin Marinas #define __ARCH_WANT_COMPAT_SYS_SENDFILE
154faea239SArnd Bergmann #define __ARCH_WANT_SYS_UTIME32
169ac08002SAl Viro #define __ARCH_WANT_SYS_FORK
179ac08002SAl Viro #define __ARCH_WANT_SYS_VFORK
18f3e5c847SCatalin Marinas 
19f3e5c847SCatalin Marinas /*
20f3e5c847SCatalin Marinas  * The following SVCs are ARM private.
21f3e5c847SCatalin Marinas  */
22f3e5c847SCatalin Marinas #define __ARM_NR_COMPAT_BASE		0x0f0000
23f3e5c847SCatalin Marinas #define __ARM_NR_compat_cacheflush	(__ARM_NR_COMPAT_BASE + 2)
24f3e5c847SCatalin Marinas #define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
25169113ecSWill Deacon #define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)
267992d60dSCatalin Marinas #endif
27f3e5c847SCatalin Marinas 
289ac08002SAl Viro #define __ARCH_WANT_SYS_CLONE
29*e632bca0SArnd Bergmann #define __ARCH_WANT_NEW_STAT
300156411bSCatalin Marinas 
31*e632bca0SArnd Bergmann #include <asm/unistd_64.h>
32055b1212SAKASHI Takahiro 
33055b1212SAKASHI Takahiro #define NR_syscalls (__NR_syscalls)
34