From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: Wed, 26 Mar 2008 15:42:54 +0000 (+0100)
Subject: [MIPS] Add missing 4KEC TLB refill handler
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1ec4c8e483d0d00d3114eafdb2c85c1cf3ed4ae;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

[MIPS] Add missing 4KEC TLB refill handler

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

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---

diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 3a93d4ce270..382738ca8a0 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: