Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [patch] simulate_llsc
@ 2003-04-24  7:27 Yoichi Yuasa
  2003-04-24 12:12 ` Ralf Baechle
  0 siblings, 1 reply; 20+ messages in thread
From: Yoichi Yuasa @ 2003-04-24  7:27 UTC (permalink / raw)
  To: ralf; +Cc: yuasa, linux-mips

Hi Ralf,

I found a problem in traps.c .
The simulate_llsc does not have return values.

Please apply these patches.

Yoichi

for v2.4
--- ./arch/mips/kernel/traps.c.orig     Mon Apr 21 10:56:54 2003
+++ ./arch/mips/kernel/traps.c  Thu Apr 24 16:25:57 2003
@@ -521,11 +521,11 @@
 
        if ((opcode & OPCODE) == LL) {
                simulate_ll(regs, opcode);
-               return;
+               return 0;
        }
        if ((opcode & OPCODE) == SC) {
                simulate_sc(regs, opcode);
-               return;
+               return 0;
        }
 }

for v2.5
--- ./arch/mips/kernel/traps.c.orig     Mon Apr 21 10:59:49 2003
+++ ./arch/mips/kernel/traps.c  Thu Apr 24 16:14:14 2003
@@ -516,11 +516,11 @@
 
        if ((opcode & OPCODE) == LL) {
                simulate_ll(regs, opcode);
-               return;
+               return 0;
        }
        if ((opcode & OPCODE) == SC) {
                simulate_sc(regs, opcode);
-               return;
+               return 0;
        }
 }

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2003-04-25 15:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24  7:27 [patch] simulate_llsc Yoichi Yuasa
2003-04-24 12:12 ` Ralf Baechle
2003-04-24 14:10   ` [patch] wait instruction on vr4181 Steven Seeger
2003-04-24 14:10     ` Steven Seeger
2003-04-24 16:34     ` Jun Sun
2003-04-24 16:58       ` Steven Seeger
2003-04-24 16:58         ` Steven Seeger
2003-04-24 18:09       ` Steven Seeger
2003-04-24 18:09         ` Steven Seeger
2003-04-24 18:27         ` Jun Sun
2003-04-24 21:28           ` [patch] new wait instruction for vr4181 Steven Seeger
2003-04-24 21:28             ` Steven Seeger
2003-04-24 22:23             ` Thiemo Seufer
2003-04-25 15:55             ` Maciej W. Rozycki
2003-04-24 18:35         ` [patch] wait instruction on vr4181 Maciej W. Rozycki
2003-04-24 18:53           ` Thiemo Seufer
2003-04-24 19:03             ` Thiemo Seufer
2003-04-25 15:25               ` Maciej W. Rozycki
2003-04-25 15:41                 ` Thiemo Seufer
2003-04-25 15:51                   ` Maciej W. Rozycki

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