#define NR_syscalls 293
-#ifdef __KERNEL__
-
/* user-visible error numbers are in the range -1 - -124: see <asm-sh/errno.h> */
#define __syscall_return(type, res) \
__syscall_return(type,__sc0); \
}
+#ifdef __KERNEL__
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT
#define __ARCH_WANT_SYS_SIGPENDING
#define __ARCH_WANT_SYS_SIGPROCMASK
#define __ARCH_WANT_SYS_RT_SIGACTION
+#endif
#ifdef __KERNEL_SYSCALLS__
struct sigaction __user *oact,
size_t sigsetsize);
-#endif /* __KERNEL_SYSCALLS__ */
+#endif
/*
* "Conditional" syscalls
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
#endif
-#endif /* __KERNEL__ */
#endif /* __ASM_SH_UNISTD_H */