linux-mips
[Top] [All Lists]

Re: [PATCH] Fix cevt-r4k.c for 64-bit kernel

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] Fix cevt-r4k.c for 64-bit kernel
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 28 Oct 2007 23:50:11 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20071023.215119.25909456.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071023.215119.25909456.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Oct 23, 2007 at 09:51:19PM +0900, Atsushi Nemoto wrote:

> The expression "(long)(read_c0_count() - cnt)" never be a negative
> value on 64-bit kernel.  Cast to "int" before comparison.
> 
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Thanks, applied.

  Ralf

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