consolidate cond_syscall and SYSCALL_ALIAS declarations
[~shefty/rdma-dev.git] / arch / sh / include / asm / unistd.h
index 5e90fa2b7eed348cadae62e3dd0523c2954ddee7..e77816c4b9bc4de14d75f7a8ce9cf5c2bc466b02 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")
-
 #include <uapi/asm/unistd.h>