| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [patch] simulate_llsc |
| From: | Yoichi Yuasa <yuasa@hh.iij4u.or.jp> |
| Date: | Thu, 24 Apr 2003 16:27:49 +0900 |
| Cc: | yuasa@hh.iij4u.or.jp, linux-mips@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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;
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch] cpu-probe for VR41XX, Yoichi Yuasa |
|---|---|
| Next by Date: | RE: Crash on insmod, Nir Tzachar |
| Previous by Thread: | [patch] cpu-probe for VR41XX, Yoichi Yuasa |
| Next by Thread: | Re: [patch] simulate_llsc, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |