X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-alpha%2Funistd.h;h=9aca27ea761e8c6bb8eab753083bac040975888b;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=a898e27de9d7f4cef42f5145832996c513a75a93;hpb=a8e794ca871505c8ea96cc102f4ad555c5231d7f;p=linux-2.6.git diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h index a898e27de..9aca27ea7 100644 --- a/include/asm-alpha/unistd.h +++ b/include/asm-alpha/unistd.h @@ -374,8 +374,9 @@ #define __NR_mq_timedreceive 435 #define __NR_mq_notify 436 #define __NR_mq_getsetattr 437 +#define __NR_waitid 438 -#define NR_SYSCALLS 438 +#define NR_SYSCALLS 439 #if defined(__GNUC__) @@ -559,6 +560,19 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6)\ #endif /* __LIBRARY__ && __GNUC__ */ +#ifdef __KERNEL__ +#define __ARCH_WANT_IPC_PARSE_VERSION +#define __ARCH_WANT_OLD_READDIR +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_GETHOSTNAME +#define __ARCH_WANT_SYS_SOCKETCALL +#define __ARCH_WANT_SYS_FADVISE64 +#define __ARCH_WANT_SYS_GETPGRP +#define __ARCH_WANT_SYS_OLD_GETRLIMIT +#define __ARCH_WANT_SYS_OLDUMOUNT +#define __ARCH_WANT_SYS_SIGPENDING +#endif + #ifdef __KERNEL_SYSCALLS__ #include @@ -605,7 +619,7 @@ static inline long read(int fd, char * buf, size_t nr) return sys_read(fd, buf, nr); } -extern long execve(char *, char **, char **); +extern int execve(char *, char **, char **); static inline long setsid(void) {