scall_n32.S register saves

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If O32 is enabled, handle_sysn32 shouldn't have to SAVE_SOME and STI...

Kip

Index: arch/mips64/kernel/scall_n32.S
===================================================================
RCS file: /home/cvs/linux/arch/mips64/kernel/scall_n32.S,v
retrieving revision 1.2.2.8
diff -u -r1.2.2.8 scall_n32.S
--- arch/mips64/kernel/scall_n32.S      7 Mar 2003 01:22:48 -0000      
1.2.2.8
+++ arch/mips64/kernel/scall_n32.S      7 Mar 2003 19:27:50 -0000
@@ -29,6 +29,12 @@
 
        .align  5
 NESTED(handle_sysn32, PT_SIZE, sp)
+#ifndef CONFIG_MIPS32_O32
+       .set    noat
+       SAVE_SOME
+       STI
+       .set    at
+#endif
        ld      t1, PT_EPC(sp)          # skip syscall on return
 
        subu    t0, v0, __NR_N32_Linux  # check syscall number



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux