1 #ifndef _ALPHA_UNISTD_H 2 #define _ALPHA_UNISTD_H 3 4 #include <uapi/asm/unistd.h> 5 6 7 #define NR_SYSCALLS 506 8 9 #define __ARCH_WANT_OLD_READDIR 10 #define __ARCH_WANT_STAT64 11 #define __ARCH_WANT_SYS_GETHOSTNAME 12 #define __ARCH_WANT_SYS_FADVISE64 13 #define __ARCH_WANT_SYS_GETPGRP 14 #define __ARCH_WANT_SYS_OLD_GETRLIMIT 15 #define __ARCH_WANT_SYS_OLDUMOUNT 16 #define __ARCH_WANT_SYS_SIGPENDING 17 #define __ARCH_WANT_SYS_RT_SIGSUSPEND 18 #define __ARCH_WANT_SYS_FORK 19 #define __ARCH_WANT_SYS_VFORK 20 #define __ARCH_WANT_SYS_CLONE 21 22 /* "Conditional" syscalls. What we want is 23 24 __attribute__((weak,alias("sys_ni_syscall"))) 25 26 but that raises the problem of what type to give the symbol. If we use 27 a prototype, it'll conflict with the definition given in this file and 28 others. If we use __typeof, we discover that not all symbols actually 29 have declarations. If we use no prototype, then we get warnings from 30 -Wstrict-prototypes. Ho hum. */ 31 32 #define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") 33 34 #endif /* _ALPHA_UNISTD_H */ 35