Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-generic / unistd.h
index 15c0598e110938cf34b90df983f746efc27ceb94..cccc86ecfeaa505a6310f9168bbd71bb952cc8a3 100644 (file)
 #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" VMLINUX_SYMBOL_STR(x) "\n\t"     \
-                           ".set\t" VMLINUX_SYMBOL_STR(x) ","  \
-                           VMLINUX_SYMBOL_STR(sys_ni_syscall))
-#endif