]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/frv/include/asm/unistd.h
Merge branches 'no-rebases', 'arch-avr32', 'arch-blackfin', 'arch-cris', 'arch-h8300...
[mirror_ubuntu-bionic-kernel.git] / arch / frv / include / asm / unistd.h
CommitLineData
1da177e4
LT
1#ifndef _ASM_UNISTD_H_
2#define _ASM_UNISTD_H_
3
aa2c47e0 4#include <uapi/asm/unistd.h>
1da177e4 5
56142536 6
7b21fddd 7#define NR_syscalls 338
1da177e4 8
1da177e4
LT
9/* #define __ARCH_WANT_OLD_READDIR */
10#define __ARCH_WANT_OLD_STAT
11#define __ARCH_WANT_STAT64
12#define __ARCH_WANT_SYS_ALARM
13/* #define __ARCH_WANT_SYS_GETHOSTNAME */
baed7fc9 14#define __ARCH_WANT_SYS_IPC
1da177e4
LT
15#define __ARCH_WANT_SYS_PAUSE
16/* #define __ARCH_WANT_SYS_SGETMASK */
17/* #define __ARCH_WANT_SYS_SIGNAL */
18#define __ARCH_WANT_SYS_TIME
19#define __ARCH_WANT_SYS_UTIME
20#define __ARCH_WANT_SYS_WAITPID
21#define __ARCH_WANT_SYS_SOCKETCALL
22#define __ARCH_WANT_SYS_FADVISE64
23#define __ARCH_WANT_SYS_GETPGRP
24#define __ARCH_WANT_SYS_LLSEEK
25#define __ARCH_WANT_SYS_NICE
26/* #define __ARCH_WANT_SYS_OLD_GETRLIMIT */
27#define __ARCH_WANT_SYS_OLDUMOUNT
28/* #define __ARCH_WANT_SYS_SIGPENDING */
29#define __ARCH_WANT_SYS_SIGPROCMASK
30#define __ARCH_WANT_SYS_RT_SIGACTION
a411aee9 31#define __ARCH_WANT_SYS_RT_SIGSUSPEND
460dabab 32#define __ARCH_WANT_SYS_EXECVE
1da177e4
LT
33
34/*
35 * "Conditional" syscalls
36 *
37 * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
38 * but it doesn't work on all toolchains, so we just do it by hand
39 */
40#ifndef cond_syscall
41#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
42#endif
43
44#endif /* _ASM_UNISTD_H_ */