X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-alpha%2Funistd.h;h=ef25b65851194e98fb8fccdbaf8999cb4e9af805;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=bc6e6a9259dceae583af27b0c5bda3b33f21d323;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h index bc6e6a925..ef25b6585 100644 --- a/include/asm-alpha/unistd.h +++ b/include/asm-alpha/unistd.h @@ -383,8 +383,6 @@ #define __NR_inotify_add_watch 445 #define __NR_inotify_rm_watch 446 -#ifdef __KERNEL__ - #define NR_SYSCALLS 447 #if defined(__GNUC__) @@ -567,8 +565,9 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6)\ _syscall_return(type); \ } -#endif /* __GNUC__ */ +#endif /* __LIBRARY__ && __GNUC__ */ +#ifdef __KERNEL__ #define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_STAT64 @@ -579,6 +578,7 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6)\ #define __ARCH_WANT_SYS_OLD_GETRLIMIT #define __ARCH_WANT_SYS_OLDUMOUNT #define __ARCH_WANT_SYS_SIGPENDING +#endif #ifdef __KERNEL_SYSCALLS__ @@ -661,5 +661,4 @@ asmlinkage long sys_rt_sigaction(int sig, #define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall") -#endif /* __KERNEL__ */ #endif /* _ALPHA_UNISTD_H */