Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[deliverable/linux.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_RT_SIGACTION
24 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
25 #define __ARCH_WANT_SYS_EXECVE
26 #define __ARCH_WANT_SYS_CLONE
27 #define __ARCH_WANT_SYS_FORK
28 #define __ARCH_WANT_SYS_VFORK
29
30 #define __IGNORE_lchown
31 #define __IGNORE_setuid
32 #define __IGNORE_getuid
33 #define __IGNORE_setgid
34 #define __IGNORE_getgid
35 #define __IGNORE_geteuid
36 #define __IGNORE_getegid
37 #define __IGNORE_fcntl
38 #define __IGNORE_setreuid
39 #define __IGNORE_setregid
40 #define __IGNORE_getrlimit
41 #define __IGNORE_getgroups
42 #define __IGNORE_setgroups
43 #define __IGNORE_select
44 #define __IGNORE_mmap
45 #define __IGNORE_fchown
46 #define __IGNORE_setfsuid
47 #define __IGNORE_setfsgid
48 #define __IGNORE_setresuid
49 #define __IGNORE_getresuid
50 #define __IGNORE_setresgid
51 #define __IGNORE_getresgid
52 #define __IGNORE_chown
53
54 /*
55 * "Conditional" syscalls
56 *
57 * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
58 * but it doesn't work on all toolchains, so we just do it by hand
59 */
60 #ifndef cond_syscall
61 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
62 #endif
63
64 #endif /* _ASM_M32R_UNISTD_H */
This page took 0.0318 seconds and 6 git commands to generate.