linux-mips-fnet
[Top] [All Lists]

scall_o32.S in 2.4.6 (or later)

To: linux-mips@fnet.fr, linux-mips@oss.sgi.com
Subject: scall_o32.S in 2.4.6 (or later)
From: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Date: Mon, 27 Aug 2001 10:13:40 +0900 (JST)
Cc: Ralf Baechle <ralf@uni-koblenz.de>
Organization: TOSHIBA Personal Computer System Corporation
After merging with 2.4.6, it seems that syscall destroy static
registers.  Isnt't this needed?

diff -ur linux.sgi/arch/mips/kernel/scall_o32.S 
linux/arch/mips/kernel/scall_o32.S
--- linux.sgi/arch/mips/kernel/scall_o32.S      Mon Aug 27 10:03:56 2001
+++ linux/arch/mips/kernel/scall_o32.S  Mon Aug 27 10:04:21 2001
@@ -88,6 +88,7 @@
 
        move    a0, zero
        move    a1, sp
+       SAVE_STATIC
        jal     do_signal
        b       restore_all
 
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>