consolidate cond_syscall and SYSCALL_ALIAS declarations
[~shefty/rdma-dev.git] / arch / mn10300 / include / asm / unistd.h
index 7f9d9adfa51ed3433b44d91d6e5d89c7ac5b767a..9d4e2d1ef90edcec1e37a449440d932bd23403a9 100644 (file)
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
 
-/*
- * "Conditional" syscalls
- *
- * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
- * but it doesn't work on all toolchains, so we just do it by hand
- */
-#ifndef cond_syscall
-#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
-#endif
-
 #endif /* _ASM_UNISTD_H */