aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/unistd.h
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-sparc/unistd.h
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-sparc/unistd.h')
-rw-r--r--include/asm-sparc/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h
index 32a48f623e2b..7bd5a7dd6781 100644
--- a/include/asm-sparc/unistd.h
+++ b/include/asm-sparc/unistd.h
@@ -317,6 +317,7 @@
317#define __NR_ppoll 298 317#define __NR_ppoll 298
318#define __NR_unshare 299 318#define __NR_unshare 299
319 319
320#ifdef __KERNEL__
320/* WARNING: You MAY NOT add syscall numbers larger than 299, since 321/* WARNING: You MAY NOT add syscall numbers larger than 299, since
321 * all of the syscall tables in the Sparc kernel are 322 * all of the syscall tables in the Sparc kernel are
322 * sized to have 299 entries (starting at zero). Therefore 323 * sized to have 299 entries (starting at zero). Therefore
@@ -453,7 +454,6 @@ errno = -__res; \
453return -1; \ 454return -1; \
454} 455}
455 456
456#ifdef __KERNEL__
457#define __ARCH_WANT_IPC_PARSE_VERSION 457#define __ARCH_WANT_IPC_PARSE_VERSION
458#define __ARCH_WANT_OLD_READDIR 458#define __ARCH_WANT_OLD_READDIR
459#define __ARCH_WANT_STAT64 459#define __ARCH_WANT_STAT64
@@ -475,7 +475,6 @@ return -1; \
475#define __ARCH_WANT_SYS_SIGPENDING 475#define __ARCH_WANT_SYS_SIGPENDING
476#define __ARCH_WANT_SYS_SIGPROCMASK 476#define __ARCH_WANT_SYS_SIGPROCMASK
477#define __ARCH_WANT_SYS_RT_SIGSUSPEND 477#define __ARCH_WANT_SYS_RT_SIGSUSPEND
478#endif
479 478
480#ifdef __KERNEL_SYSCALLS__ 479#ifdef __KERNEL_SYSCALLS__
481 480
@@ -532,4 +531,5 @@ asmlinkage long sys_rt_sigaction(int sig,
532 */ 531 */
533#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 532#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
534 533
534#endif /* __KERNEL__ */
535#endif /* _SPARC_UNISTD_H */ 535#endif /* _SPARC_UNISTD_H */