parisc: syscalls: switch to generic syscalltbl.sh
[sfrench/cifs-2.6.git] / arch / parisc / kernel / syscall.S
index 322503780db614a37e2d88dbca8114a7fc640f23..3f24a0af1e047b17b9c192c8514d5e6dd3576dba 100644 (file)
@@ -919,24 +919,24 @@ ENTRY(lws_table)
 END(lws_table)
        /* End of lws table */
 
+#ifdef CONFIG_64BIT
+#define __SYSCALL_WITH_COMPAT(nr, native, compat)      __SYSCALL(nr, compat)
+#else
+#define __SYSCALL_WITH_COMPAT(nr, native, compat)      __SYSCALL(nr, native)
+#endif
 #define __SYSCALL(nr, entry)   ASM_ULONG_INSN entry
        .align 8
 ENTRY(sys_call_table)
        .export sys_call_table,data
-#ifdef CONFIG_64BIT
-#include <asm/syscall_table_c32.h>   /* Compat syscalls */
-#else
-#include <asm/syscall_table_32.h>    /* 32-bit native syscalls */
-#endif
+#include <asm/syscall_table_32.h>    /* 32-bit syscalls */
 END(sys_call_table)
 
 #ifdef CONFIG_64BIT
        .align 8
 ENTRY(sys_call_table64)
-#include <asm/syscall_table_64.h>    /* 64-bit native syscalls */
+#include <asm/syscall_table_64.h>    /* 64-bit syscalls */
 END(sys_call_table64)
 #endif
-#undef __SYSCALL
 
        /*
                All light-weight-syscall atomic operations 
@@ -961,5 +961,3 @@ END(lws_lock_start)
        .previous
 
 .end
-
-