diff options
Diffstat (limited to 'include/asm-generic/unistd.h')
| -rw-r--r-- | include/asm-generic/unistd.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index 257c55ec4f7..cccc86ecfea 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -1,4 +1,5 @@ #include <uapi/asm-generic/unistd.h> +#include <linux/export.h> /* * These are required system calls, we should @@ -9,13 +10,3 @@ #define __ARCH_WANT_STAT64 #define __ARCH_WANT_SYS_LLSEEK #endif - -/* - * "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 - */ -#ifndef cond_syscall -#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") -#endif |
