consolidate cond_syscall and SYSCALL_ALIAS declarations
[~shefty/rdma-dev.git] / arch / m68k / include / asm / unistd.h
index 6cd92671ca5e61c572f5300dbc0f6de054457ca1..014f288fc81354e0eb088e500184e7e032ea6ba3 100644 (file)
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 
-/*
- * "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
- */
-#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
-
 #endif /* _ASM_M68K_UNISTD_H_ */