1 #ifndef _ASM_H8300_UNISTD_H_
2 #define _ASM_H8300_UNISTD_H_
4 #include <uapi/asm/unistd.h>
7 #define NR_syscalls 321
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
14 #define __ARCH_WANT_SYS_IPC
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_OLD_MMAP
28 #define __ARCH_WANT_SYS_OLD_SELECT
29 #define __ARCH_WANT_SYS_OLDUMOUNT
30 #define __ARCH_WANT_SYS_SIGPENDING
31 #define __ARCH_WANT_SYS_SIGPROCMASK
32 #define __ARCH_WANT_SYS_RT_SIGACTION
33 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
34 #define __ARCH_WANT_SYS_FORK
35 #define __ARCH_WANT_SYS_VFORK
36 #define __ARCH_WANT_SYS_CLONE
39 * "Conditional" syscalls
41 #define cond_syscall(name) \
42 asm (".weak\t_" #name "\n" \
43 ".set\t_" #name ",_sys_ni_syscall");
45 #endif /* _ASM_H8300_UNISTD_H_ */