2 # ifdef CONFIG_SUPERH32
3 # include "unistd_32.h"
5 # include "unistd_64.h"
8 # define __ARCH_WANT_SYS_RT_SIGSUSPEND
9 # define __ARCH_WANT_IPC_PARSE_VERSION
10 # define __ARCH_WANT_OLD_READDIR
11 # define __ARCH_WANT_OLD_STAT
12 # define __ARCH_WANT_STAT64
13 # define __ARCH_WANT_SYS_ALARM
14 # define __ARCH_WANT_SYS_GETHOSTNAME
15 # define __ARCH_WANT_SYS_IPC
16 # define __ARCH_WANT_SYS_PAUSE
17 # define __ARCH_WANT_SYS_SGETMASK
18 # define __ARCH_WANT_SYS_SIGNAL
19 # define __ARCH_WANT_SYS_TIME
20 # define __ARCH_WANT_SYS_UTIME
21 # define __ARCH_WANT_SYS_WAITPID
22 # define __ARCH_WANT_SYS_SOCKETCALL
23 # define __ARCH_WANT_SYS_FADVISE64
24 # define __ARCH_WANT_SYS_GETPGRP
25 # define __ARCH_WANT_SYS_LLSEEK
26 # define __ARCH_WANT_SYS_NICE
27 # define __ARCH_WANT_SYS_OLD_GETRLIMIT
28 # define __ARCH_WANT_SYS_OLD_UNAME
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
35 * "Conditional" syscalls
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
40 # define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
44 # include "unistd_64.h"
46 # include "unistd_32.h"