linux-mips
[Top] [All Lists]

Re: [PATCH][MIPS] fix divide by zero error in build_clear_page and build

To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Subject: Re: [PATCH][MIPS] fix divide by zero error in build_clear_page and build_copy_page
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Wed, 7 May 2008 17:14:22 +0100 (BST)
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20080507233815.e6de28da.yoichi_yuasa@tripeaks.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080507233815.e6de28da.yoichi_yuasa@tripeaks.co.jp>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 7 May 2008, Yoichi Yuasa wrote:

> Fix divide by zero error in build_clear_page() and build_copy_page()

 Why would ever cache_line_size be zero in this place?  Are you trying to 
support a cacheless CPU?  If not, it should be a BUG_ON().

  Maciej

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