| 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: | Thu, 8 May 2008 00:04:54 +0100 (BST) |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <200805072238.m47MbxbZ022160@po-mbox303.hop.2iij.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20080507233815.e6de28da.yoichi_yuasa@tripeaks.co.jp> <Pine.LNX.4.55.0805071712520.25644@cliff.in.clinika.pl> <200805072238.m47MbxbZ022160@po-mbox303.hop.2iij.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Thu, 8 May 2008, Yoichi Yuasa wrote: > > 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(). > > > > When CPU has no prefetch, no cache cdex_s and no caache cdex_p, > cache_line_size is zero. > I confirmed it with Nevada(Cobalt server) and VR41xx. Fair enough. I confused the variable with some others used to store the actual line size of each of the caches. Your change is correct, thank you and sorry about the noise. Maciej |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH][MIPS] fix divide by zero error in build_clear_page and build_copy_page, Yoichi Yuasa |
|---|---|
| Next by Date: | [RFC] [PATCH 1/1] [MIPS] Advanced Kernel Stack Backtrace, David VomLehn |
| Previous by Thread: | Re: [PATCH][MIPS] fix divide by zero error in build_clear_page and build_copy_page, Yoichi Yuasa |
| Next by Thread: | Re: [PATCH][MIPS] fix divide by zero error in build_clear_page and build_copy_page, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |