Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.1830);
	 Wed, 26 Mar 2008 12:10:12 -0700
Received: from oss.sgi.com ([192.48.170.157]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Wed, 26 Mar 2008 12:10:11 -0700
Received: from p549F5321.dip.t-dialin.net (localhost [127.0.0.1])
	by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m2QJ8ioB018715
	for <andy.sharp@onstor.com>; Wed, 26 Mar 2008 12:09:27 -0700
Received: from localhost ([127.0.0.1]:37353 "EHLO lappi.linux-mips.net")
	by lappi.linux-mips.net with ESMTP id S1103183AbYCZSPx (ORCPT
	<rfc822;andy.sharp@onstor.com>); Wed, 26 Mar 2008 19:15:53 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 26 Mar 2008 19:14:08 +0100 (CET)
Received: from elvis.franken.de ([193.175.24.41]:34193 "EHLO elvis.franken.de")
	by lappi.linux-mips.net with ESMTP id S1102780AbYCZPq1 (ORCPT
	<rfc822;linux-mips@linux-mips.org>); Wed, 26 Mar 2008 16:46:27 +0100
Received: from uucp (helo=solo.franken.de)
	by elvis.franken.de with local-bsmtp (Exim 3.36 #1)
	id 1JeXmD-0000Fz-00; Wed, 26 Mar 2008 16:42:57 +0100
Received: by solo.franken.de (Postfix, from userid 1000)
	id D6760C2B7D; Wed, 26 Mar 2008 16:42:54 +0100 (CET)
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: [PATCH] Add missing 4KEC TLB refill handler
To: linux-mips@linux-mips.org
cc: ralf@linux-mips.org
Message-Id: <20080326154254.D6760C2B7D@solo.franken.de>
Date: 	Wed, 26 Mar 2008 16:42:54 +0100 (CET)
X-archive-position: 18650
X-ecartis-version: Ecartis v1.0.0
Sender: linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: tsbogend@alpha.franken.de
Precedence: bulk
X-list: 	linux-mips
X-Virus-Scanned: ClamAV 0.91.2/6021/Wed Feb 27 15:55:48 2008 on oss.sgi.com
X-Virus-Status: Clean
Return-Path: linux-mips-bounce@linux-mips.org
X-OriginalArrivalTime: 26 Mar 2008 19:10:12.0164 (UTC) FILETIME=[04080840:01C88F75]

Early 4KEc were MIPS32r1 and therefore need some love to get a TLB 
refill handler.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---

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

diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 3a93d4c..382738c 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -307,6 +307,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,
 	case CPU_R12000:
 	case CPU_R14000:
 	case CPU_4KC:
+	case CPU_4KEC:
 	case CPU_SB1:
 	case CPU_SB1A:
 	case CPU_4KSC:

