consolidate cond_syscall and SYSCALL_ALIAS declarations
[~shefty/rdma-dev.git] / arch / avr32 / include / asm / unistd.h
index dc4d5a931112ebe3b6bb9c9e32c7a81d434e1624..c1eb080e45fee5c1c85d315ef89974bacadf67f3 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
- */
-#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
-
 #endif /* __ASM_AVR32_UNISTD_H */