diff options
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h index ca80e8aca128..18f7b1a2517c 100644 --- a/include/asm-sparc64/unistd.h +++ b/include/asm-sparc64/unistd.h | |||
@@ -319,6 +319,7 @@ | |||
319 | #define __NR_ppoll 298 | 319 | #define __NR_ppoll 298 |
320 | #define __NR_unshare 299 | 320 | #define __NR_unshare 299 |
321 | 321 | ||
322 | #ifdef __KERNEL__ | ||
322 | /* WARNING: You MAY NOT add syscall numbers larger than 299, since | 323 | /* WARNING: You MAY NOT add syscall numbers larger than 299, since |
323 | * all of the syscall tables in the Sparc kernel are | 324 | * all of the syscall tables in the Sparc kernel are |
324 | * sized to have 299 entries (starting at zero). Therefore | 325 | * sized to have 299 entries (starting at zero). Therefore |
@@ -485,7 +486,6 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
485 | 486 | ||
486 | #endif /* __KERNEL_SYSCALLS__ */ | 487 | #endif /* __KERNEL_SYSCALLS__ */ |
487 | 488 | ||
488 | #ifdef __KERNEL__ | ||
489 | /* sysconf options, for SunOS compatibility */ | 489 | /* sysconf options, for SunOS compatibility */ |
490 | #define _SC_ARG_MAX 1 | 490 | #define _SC_ARG_MAX 1 |
491 | #define _SC_CHILD_MAX 2 | 491 | #define _SC_CHILD_MAX 2 |
@@ -519,7 +519,6 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
519 | #define __ARCH_WANT_SYS_SIGPROCMASK | 519 | #define __ARCH_WANT_SYS_SIGPROCMASK |
520 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | 520 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND |
521 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | 521 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND |
522 | #endif | ||
523 | 522 | ||
524 | /* | 523 | /* |
525 | * "Conditional" syscalls | 524 | * "Conditional" syscalls |
@@ -529,4 +528,5 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
529 | */ | 528 | */ |
530 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 529 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
531 | 530 | ||
531 | #endif /* __KERNEL__ */ | ||
532 | #endif /* _SPARC64_UNISTD_H */ | 532 | #endif /* _SPARC64_UNISTD_H */ |