Linux MIPS Architecture development
 help / color / mirror / Atom feed
* scall_n32.S register saves
@ 2003-03-07 19:29 Kip Walker
  0 siblings, 0 replies; only message in thread
From: Kip Walker @ 2003-03-07 19:29 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-07 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 19:29 scall_n32.S register saves Kip Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox