linux-mips
[Top] [All Lists]

Re: [PATCH] TX49 has write buffer

To: Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [PATCH] TX49 has write buffer
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Sat, 19 Aug 2006 20:36:13 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Manish Lachwani <mlachwani@mvista.com>, anemo@mba.ocn.ne.jp
In-reply-to: <44E64687.7000704@ru.mvista.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <44E64687.7000704@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Sergei Shtylyov wrote:

TX49 CPUs have a write buffer, so we need to select CPU_HAS_WB -- otherwise all Toshiba RBTX49xx kernels fail to build.

The uptimate reason is I think that <asm/system.h> doesn't include <asm/wbflush.h> if CONFIG_CPU_HAS_WB is undefined -- although, <asm/wbflush.h> handles this situation itself. Well, <asm/system.h> doesn't need the wbflush() macro in that case, so it's in his own right to not include that header...

WBR, Sergei

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