summaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/unistd.h')
-rw-r--r--arch/cris/include/asm/unistd.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/cris/include/asm/unistd.h b/arch/cris/include/asm/unistd.h
index be57a98..0ff3f68 100644
--- a/arch/cris/include/asm/unistd.h
+++ b/arch/cris/include/asm/unistd.h
@@ -34,12 +34,4 @@
#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_CRIS_UNISTD_H_ */
OpenPOWER on IntegriCloud