[patch] simulate_llsc

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

 



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;
        }
 }


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

  Powered by Linux