aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2006-04-28 20:51:47 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-28 20:51:47 -0400
commit56142536868a2be34f261ed8fdca1610f8a73fbd (patch)
tree0bd66166b318d8403b1881285f6813ece2acced1 /include/asm-sparc64
parent34c278d3913a15b64943e8c40a16b4f732cc7c59 (diff)
Remove unneeded _syscallX macros from user view in asm-*/unistd.h
These aren't needed by glibc or klibc, and they're broken in some cases anyway. The uClibc folks are apparently switching over to stop using them too (now that we agreed that they should be dropped, at least). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/unistd.h4
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 */