linux-mips
[Top] [All Lists]

Re: Fix zero length sys_cacheflush

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: Fix zero length sys_cacheflush
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 19 Oct 2005 14:29:02 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20051019.195714.89066462.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20051019.195714.89066462.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Wed, Oct 19, 2005 at 07:57:14PM +0900, Atsushi Nemoto wrote:

> I found cacheflush(0, 0, 0) will crash the system.
> 
> This is because flush_icache_range(start, end) tries to flushing whole
> address space (0 - ffffffff) if both start and end are zero (at least
> in c-r4k.c).

Applied,

  Ralf

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