Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
1da177e4 | 2 | /* |
4baa9922 | 3 | * arch/arm/include/asm/unistd.h |
1da177e4 LT |
4 | * |
5 | * Copyright (C) 2001-2005 Russell King | |
6 | * | |
1da177e4 LT |
7 | * Please forward _all_ changes to this file to rmk@arm.linux.org.uk, |
8 | * no matter what the change is. Thanks! | |
9 | */ | |
10 | #ifndef __ASM_ARM_UNISTD_H | |
11 | #define __ASM_ARM_UNISTD_H | |
12 | ||
cb8db5d4 | 13 | #include <uapi/asm/unistd.h> |
96a8fae0 | 14 | #include <asm/unistd-nr.h> |
bc994c77 | 15 | |
82b355d1 | 16 | #define __ARCH_WANT_NEW_STAT |
1da177e4 | 17 | #define __ARCH_WANT_STAT64 |
1da177e4 LT |
18 | #define __ARCH_WANT_SYS_GETHOSTNAME |
19 | #define __ARCH_WANT_SYS_PAUSE | |
1da177e4 | 20 | #define __ARCH_WANT_SYS_GETPGRP |
1da177e4 | 21 | #define __ARCH_WANT_SYS_NICE |
1da177e4 LT |
22 | #define __ARCH_WANT_SYS_SIGPENDING |
23 | #define __ARCH_WANT_SYS_SIGPROCMASK | |
a4679373 | 24 | #define __ARCH_WANT_SYS_OLD_MMAP |
5d0e5283 | 25 | #define __ARCH_WANT_SYS_OLD_SELECT |
d33c577c | 26 | #define __ARCH_WANT_SYS_UTIME32 |
dd35afc2 NP |
27 | |
28 | #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT) | |
d33c577c | 29 | #define __ARCH_WANT_SYS_TIME32 |
baed7fc9 | 30 | #define __ARCH_WANT_SYS_IPC |
dd35afc2 NP |
31 | #define __ARCH_WANT_SYS_OLDUMOUNT |
32 | #define __ARCH_WANT_SYS_ALARM | |
dd35afc2 NP |
33 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT |
34 | #define __ARCH_WANT_OLD_READDIR | |
35 | #define __ARCH_WANT_SYS_SOCKETCALL | |
36 | #endif | |
38a61b6b AV |
37 | #define __ARCH_WANT_SYS_FORK |
38 | #define __ARCH_WANT_SYS_VFORK | |
39 | #define __ARCH_WANT_SYS_CLONE | |
1da177e4 | 40 | |
c0510791 RK |
41 | /* |
42 | * Unimplemented (or alternatively implemented) syscalls | |
43 | */ | |
4dfa3386 | 44 | #define __IGNORE_fadvise64_64 |
c0510791 | 45 | |
96a8fae0 RK |
46 | #ifdef __ARM_EABI__ |
47 | /* | |
48 | * The following syscalls are obsolete and no longer available for EABI: | |
49 | * __NR_time | |
50 | * __NR_umount | |
51 | * __NR_stime | |
52 | * __NR_alarm | |
53 | * __NR_utime | |
54 | * __NR_getrlimit | |
55 | * __NR_select | |
56 | * __NR_readdir | |
57 | * __NR_mmap | |
58 | * __NR_socketcall | |
59 | * __NR_syscall | |
60 | * __NR_ipc | |
61 | */ | |
62 | #define __IGNORE_getrlimit | |
63 | #endif | |
64 | ||
1da177e4 | 65 | #endif /* __ASM_ARM_UNISTD_H */ |