linux-mips
[Top] [All Lists]

Re: get_insn_opcode is broken (ll/sc emulation does not work)

To: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Subject: Re: get_insn_opcode is broken (ll/sc emulation does not work)
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 24 Aug 2001 13:28:27 +0200
Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com
In-reply-to: <20010824.170621.85418510.nemoto@toshiba-tops.co.jp>; from nemoto@toshiba-tops.co.jp on Fri, Aug 24, 2001 at 05:06:21PM +0900
References: <20010824.170621.85418510.nemoto@toshiba-tops.co.jp>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Fri, Aug 24, 2001 at 05:06:21PM +0900, Atsushi Nemoto wrote:

> I found that get_insn_opcode(in traps.c) is broken.
> 
> 
> static inline int get_insn_opcode(struct pt_regs *regs, unsigned int *opcode)
> ...
>       if (!get_user(opcode, epc))

Thanks, fixed!

  Ralf

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