[MIPS] TRACE_IRQFLAGS_SUPPORT support.
[firefly-linux-kernel-4.4.55.git] / arch / mips / kernel / scall64-n32.S
index b2b5cb9fe571b629cfdc13d646e06c711920ad4f..98abbc5a9f13007d5d6f034d5fd7d0c231c5f314 100644 (file)
@@ -10,6 +10,7 @@
 #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>
@@ -32,6 +33,7 @@ NESTED(handle_sysn32, PT_SIZE, sp)
 #ifndef CONFIG_MIPS32_O32
        .set    noat
        SAVE_SOME
+       TRACE_IRQS_ON
        STI
        .set    at
 #endif