Merge branch 'upstream-fixes-jgarzik' of git://lost.foo-projects.org/~ahkok/git/netde...
[powerpc.git] / arch / mips / kernel / scall64-o32.S
index c7e766e..505c9ee 100644 (file)
  * to ABI64 calling convention.  64-bit syscalls are also processed
  * here for now.
  */
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <asm/asm.h>
 #include <asm/asmmacro.h>
+#include <asm/irqflags.h>
 #include <asm/mipsregs.h>
 #include <asm/regdef.h>
 #include <asm/stackframe.h>
@@ -28,6 +28,7 @@
 NESTED(handle_sys, PT_SIZE, sp)
        .set    noat
        SAVE_SOME
+       TRACE_IRQS_ON
        STI
        .set    at
        ld      t1, PT_EPC(sp)          # skip syscall on return
@@ -209,7 +210,7 @@ sys_call_table:
        PTR     sys_fork
        PTR     sys_read
        PTR     sys_write
-       PTR     sys_open                        /* 4005 */
+       PTR     compat_sys_open                 /* 4005 */
        PTR     sys_close
        PTR     sys_waitpid
        PTR     sys_creat
@@ -509,4 +510,8 @@ sys_call_table:
        PTR     sys_ppoll
        PTR     sys_unshare
        PTR     sys_splice
+       PTR     sys32_sync_file_range           /* 4305 */
+       PTR     sys_tee
+       PTR     sys_vmsplice
+       PTR     compat_sys_move_pages
        .size   sys_call_table,.-sys_call_table