All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] simulate_llsc in v2.4
@ 2003-09-10  9:38 Yoichi Yuasa
  2003-09-10 10:10 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Yoichi Yuasa @ 2003-09-10  9:38 UTC (permalink / raw)
  To: ralf; +Cc: yuasa, linux-mips

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hello Ralf,

I found a differece between v2.4 and v2.6 in simulate_llsc().

Please apply this patch to v2.4 tree.

Yoichi

[-- Attachment #2: simulate_llsc.diff --]
[-- Type: text/plain, Size: 411 bytes --]

diff -aruN --exclude=CVS --exclude=.cvsignore linux.orig/arch/mips/kernel/traps.c linux/arch/mips/kernel/traps.c
--- linux.orig/arch/mips/kernel/traps.c	Fri Jul 18 23:16:06 2003
+++ linux/arch/mips/kernel/traps.c	Wed Sep 10 18:34:40 2003
@@ -523,6 +523,8 @@
 		simulate_sc(regs, opcode);
 		return 0;
 	}
+
+	return -EFAULT;			/* Strange things going on ... */
 }
 
 asmlinkage void do_ov(struct pt_regs *regs)

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

* Re: [patch] simulate_llsc in v2.4
  2003-09-10  9:38 [patch] simulate_llsc in v2.4 Yoichi Yuasa
@ 2003-09-10 10:10 ` Ralf Baechle
  2003-09-10 14:35   ` Yoichi Yuasa
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2003-09-10 10:10 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: linux-mips

On Wed, Sep 10, 2003 at 06:38:52PM +0900, Yoichi Yuasa wrote:

> I found a differece between v2.4 and v2.6 in simulate_llsc().
> 
> Please apply this patch to v2.4 tree.

Okay - you missed the same thing also needs to be applied to the 64-bit
kernel.

  Ralf

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

* Re: [patch] simulate_llsc in v2.4
  2003-09-10 10:10 ` Ralf Baechle
@ 2003-09-10 14:35   ` Yoichi Yuasa
  0 siblings, 0 replies; 3+ messages in thread
From: Yoichi Yuasa @ 2003-09-10 14:35 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, yuasa

On Wed, 10 Sep 2003 12:10:35 +0200
Ralf Baechle <ralf@linux-mips.org> wrote:

> On Wed, Sep 10, 2003 at 06:38:52PM +0900, Yoichi Yuasa wrote:
> 
> > I found a differece between v2.4 and v2.6 in simulate_llsc().
> > 
> > Please apply this patch to v2.4 tree.
> 
> Okay - you missed the same thing also needs to be applied to the 64-bit
> kernel.

Oh, that's right.

Thanks,

Yoichi

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

end of thread, other threads:[~2003-09-10 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10  9:38 [patch] simulate_llsc in v2.4 Yoichi Yuasa
2003-09-10 10:10 ` Ralf Baechle
2003-09-10 14:35   ` Yoichi Yuasa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.