xtensa: switch to generic rt_sigsuspend(2)
[deliverable/linux.git] / arch / sh / include / asm / unistd.h
CommitLineData
82706b8f
KR
1#ifdef __KERNEL__
2# ifdef CONFIG_SUPERH32
8bf6e1bc 3
82706b8f 4# include "unistd_32.h"
8bf6e1bc
PM
5# define __ARCH_WANT_SYS_RT_SIGSUSPEND
6
82706b8f
KR
7# else
8# include "unistd_64.h"
9# endif
8bf6e1bc
PM
10
11# define __ARCH_WANT_IPC_PARSE_VERSION
12# define __ARCH_WANT_OLD_READDIR
13# define __ARCH_WANT_OLD_STAT
14# define __ARCH_WANT_STAT64
15# define __ARCH_WANT_SYS_ALARM
16# define __ARCH_WANT_SYS_GETHOSTNAME
17# define __ARCH_WANT_SYS_IPC
18# define __ARCH_WANT_SYS_PAUSE
19# define __ARCH_WANT_SYS_SGETMASK
20# define __ARCH_WANT_SYS_SIGNAL
21# define __ARCH_WANT_SYS_TIME
22# define __ARCH_WANT_SYS_UTIME
23# define __ARCH_WANT_SYS_WAITPID
24# define __ARCH_WANT_SYS_SOCKETCALL
25# define __ARCH_WANT_SYS_FADVISE64
26# define __ARCH_WANT_SYS_GETPGRP
27# define __ARCH_WANT_SYS_LLSEEK
28# define __ARCH_WANT_SYS_NICE
29# define __ARCH_WANT_SYS_OLD_GETRLIMIT
30# define __ARCH_WANT_SYS_OLD_UNAME
31# define __ARCH_WANT_SYS_OLDUMOUNT
32# define __ARCH_WANT_SYS_SIGPENDING
33# define __ARCH_WANT_SYS_SIGPROCMASK
34# define __ARCH_WANT_SYS_RT_SIGACTION
35
36/*
37 * "Conditional" syscalls
38 *
39 * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
40 * but it doesn't work on all toolchains, so we just do it by hand
41 */
42# define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
43
1b6cf817 44#else
82706b8f
KR
45# ifdef __SH5__
46# include "unistd_64.h"
47# else
48# include "unistd_32.h"
49# endif
1da177e4 50#endif
This page took 0.700115 seconds and 5 git commands to generate.