x86-64: seccomp: fix 32/64 syscall hole
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / x86 / include / asm / seccomp_32.h
index cf9ab2d..b811d6f 100644 (file)
@@ -1,11 +1,5 @@
-#ifndef ASM_X86__SECCOMP_32_H
-#define ASM_X86__SECCOMP_32_H
-
-#include <linux/thread_info.h>
-
-#ifdef TIF_32BIT
-#error "unexpected TIF_32BIT on i386"
-#endif
+#ifndef _ASM_X86_SECCOMP_32_H
+#define _ASM_X86_SECCOMP_32_H
 
 #include <linux/unistd.h>
 
@@ -14,4 +8,4 @@
 #define __NR_seccomp_exit __NR_exit
 #define __NR_seccomp_sigreturn __NR_sigreturn
 
-#endif /* ASM_X86__SECCOMP_32_H */
+#endif /* _ASM_X86_SECCOMP_32_H */