net: remove compat_sys_{get,set}sockopt
[linux-2.6-microblaze.git] / arch / x86 / entry / syscall_x32.c
index 3d8d70d..1583831 100644 (file)
@@ -8,6 +8,13 @@
 #include <asm/unistd.h>
 #include <asm/syscall.h>
 
+/*
+ * Reuse the 64-bit entry points for the x32 versions that occupy different
+ * slots in the syscall table.
+ */
+#define __x32_sys_getsockopt   __x64_sys_getsockopt
+#define __x32_sys_setsockopt   __x64_sys_setsockopt
+
 #define __SYSCALL_64(nr, sym)
 
 #define __SYSCALL_X32(nr, sym) extern long __x32_##sym(const struct pt_regs *);