Linux Audio

Check our new training course

Loading...
v3.1
 1#ifdef __KERNEL__
 2# ifdef CONFIG_SUPERH32
 3#  include "unistd_32.h"
 4# else
 5#  include "unistd_64.h"
 6# endif
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 7#else
 8# ifdef __SH5__
 9#  include "unistd_64.h"
10# else
11#  include "unistd_32.h"
12# endif
13#endif
v3.5.6
 1#ifdef __KERNEL__
 2# ifdef CONFIG_SUPERH32
 3#  include "unistd_32.h"
 4# else
 5#  include "unistd_64.h"
 6# endif
 7
 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
33
34/*
35 * "Conditional" syscalls
36 *
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
39 */
40# define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
41
42#else
43# ifdef __SH5__
44#  include "unistd_64.h"
45# else
46#  include "unistd_32.h"
47# endif
48#endif