consolidate cond_syscall and SYSCALL_ALIAS declarations
[~shefty/rdma-dev.git] / arch / blackfin / include / asm / unistd.h
index 04e83ea8d5cc277e1bd90e654ab8ccdaf7f55a61..c35414bdf7bd3ddad8ff3371468e70ce95ab8fd6 100644 (file)
 #define __ARCH_WANT_SYS_NICE
 #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_BFIN_UNISTD_H */