burying unused conditionals
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / m32r / include / asm / unistd.h
1 #ifndef _ASM_M32R_UNISTD_H
2 #define _ASM_M32R_UNISTD_H
3
4 #include <uapi/asm/unistd.h>
5
6
7 #define NR_syscalls 326
8
9 #define __ARCH_WANT_STAT64
10 #define __ARCH_WANT_SYS_ALARM
11 #define __ARCH_WANT_SYS_GETHOSTNAME
12 #define __ARCH_WANT_SYS_IPC
13 #define __ARCH_WANT_SYS_PAUSE
14 #define __ARCH_WANT_SYS_TIME
15 #define __ARCH_WANT_SYS_UTIME
16 #define __ARCH_WANT_SYS_WAITPID
17 #define __ARCH_WANT_SYS_SOCKETCALL
18 #define __ARCH_WANT_SYS_FADVISE64
19 #define __ARCH_WANT_SYS_GETPGRP
20 #define __ARCH_WANT_SYS_LLSEEK
21 #define __ARCH_WANT_SYS_OLD_GETRLIMIT /*will be unused*/
22 #define __ARCH_WANT_SYS_OLDUMOUNT
23 #define __ARCH_WANT_SYS_CLONE
24 #define __ARCH_WANT_SYS_FORK
25 #define __ARCH_WANT_SYS_VFORK
26
27 #define __IGNORE_lchown
28 #define __IGNORE_setuid
29 #define __IGNORE_getuid
30 #define __IGNORE_setgid
31 #define __IGNORE_getgid
32 #define __IGNORE_geteuid
33 #define __IGNORE_getegid
34 #define __IGNORE_fcntl
35 #define __IGNORE_setreuid
36 #define __IGNORE_setregid
37 #define __IGNORE_getrlimit
38 #define __IGNORE_getgroups
39 #define __IGNORE_setgroups
40 #define __IGNORE_select
41 #define __IGNORE_mmap
42 #define __IGNORE_fchown
43 #define __IGNORE_setfsuid
44 #define __IGNORE_setfsgid
45 #define __IGNORE_setresuid
46 #define __IGNORE_getresuid
47 #define __IGNORE_setresgid
48 #define __IGNORE_getresgid
49 #define __IGNORE_chown
50
51 /*
52  * "Conditional" syscalls
53  *
54  * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
55  * but it doesn't work on all toolchains, so we just do it by hand
56  */
57 #ifndef cond_syscall
58 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
59 #endif
60
61 #endif /* _ASM_M32R_UNISTD_H */