Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Mon, 16 Mar 2009
 23:32:43 -0700
Received: from psmtp.com ([64.18.0.115]) by mail.onstor.com with Microsoft
 SMTPSVC(6.0.3790.3959);	 Mon, 16 Mar 2009 23:32:42 -0700
Received: from source ([213.58.128.207]) by exprod5mx229.postini.com
 ([64.18.4.13]) with SMTP;	Tue, 17 Mar 2009 01:32:43 CDT
Received: from localhost.localdomain ([127.0.0.1]:31137 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21367034AbZCQGcV
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Tue, 17 Mar 2009 06:32:21 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 17 Mar 2009 06:32:04
 +0000 (GMT)
Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:34030 "EHLO
	tyo202.gate.nec.co.jp") by ftp.linux-mips.org with ESMTP	id S21367164AbZCQGb5
 (ORCPT <rfc822;linux-mips@linux-mips.org>);	Tue, 17 Mar 2009 06:31:57 +0000
Received: from relay11.aps.necel.com ([10.29.19.46])	by tyo202.gate.nec.co.jp
 (8.13.8/8.13.4) with ESMTP id n2H6Vr2N019705;	Tue, 17 Mar 2009 15:31:53 +0900
 (JST)
Received: from realmbox21.aps.necel.com ([10.29.19.28] [10.29.19.28]) by
 relay11.aps.necel.com with ESMTP; Tue, 17 Mar 2009 15:31:53 +0900
Received: from [10.114.181.78] ([10.114.181.78] [10.114.181.78]) by
 mbox02.aps.necel.com with ESMTP; Tue, 17 Mar 2009 15:31:53 +0900
From: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	"ralf@linux-mips.org" <ralf@linux-mips.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Mon, 16 Mar 2009 23:32:48 -0700
Subject: MIPS: Enable prefetch option for VR5500 processor
Thread-Topic: MIPS: Enable prefetch option for VR5500 processor
Thread-Index: Acmmyi2T4q6uf+FiSUaUGoQMH8WDAw==
Message-ID: <49BF4410.8080006@necel.com>
References: <49ACF2EF.3080903@necel.com>
In-Reply-To: <49ACF2EF.3080903@necel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 17 Mar 2009 06:32:42.0881 (UTC)
 FILETIME=[2D34CF10:01C9A6CA]
user-agent: Thunderbird 2.0.0.19 (Windows/20081209)
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:99.90000/99.90000 CV: 6.2478 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-neptune: 0/0/0.00/0
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: 67pvc84PbAAGNcH74Bit/g==
x-list: linux-mips
x-archive-position: 22089
x-ecartis-version: Ecartis v1.0.0
x-original-sender: shinya.kuribayashi@necel.com
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

MIPS: Enable prefetch option for VR5500 processor

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
---
Hi Ralf,

I haven't finished fixing up for VR5500 processor support, sigh :-(
I hope this is the last one, and don't miss anything essential.

  Shinya

 arch/mips/mm/c-r4k.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index c43f4b2..b42b9d2 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -781,6 +781,7 @@ static void __cpuinit probe_pcache(void)
 		c->dcache.waybit =3D 0;
=20
 		c->options |=3D MIPS_CPU_CACHE_CDEX_P;
+		c->options |=3D MIPS_CPU_PREFETCH;
 		break;
=20
 	case CPU_TX49XX:

