linux-mips
[Top] [All Lists]

Re: [patch] simulate_ll and simulate_sc(resend)

To: Yoichi Yuasa <yoichi_yuasa@montavista.co.jp>
Subject: Re: [patch] simulate_ll and simulate_sc(resend)
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 4 Mar 2003 13:07:48 +0100
Cc: linux-mips@linux-mips.org, jsun@mvista.com
In-reply-to: <20030303192137.34d21352.yoichi_yuasa@montavista.co.jp>; from yoichi_yuasa@montavista.co.jp on Mon, Mar 03, 2003 at 07:21:37PM +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030303192137.34d21352.yoichi_yuasa@montavista.co.jp>
Resent-date: Tue, 4 Mar 2003 13:16:31 +0100
Resent-from: ralf@linux-mips.org
Resent-message-id: <200303041216.h24CGVS08332@dea.linux-mips.net>
Resent-to: linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Mon, Mar 03, 2003 at 07:21:37PM +0900, Yoichi Yuasa wrote:

>  sig:
> +     compute_return_epc(regs);
>       send_sig(signal, current, 1);

In the error case you can't advance the epc ..

It's an old bug already but the signal should be sent with force_sig,
not send_sig.

  Ralf

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