From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 23 Jun 2006 17:48:21 +0000 (+0100)
Subject: [MIPS] 74K: Assume it will also have an AR bit in config7
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e78ae3f48b2596797101fa365abd6348143299f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

[MIPS] 74K: Assume it will also have an AR bit in config7

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---

diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 33b1451a365d..75d887e89739 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -1009,6 +1009,7 @@ static void __init probe_pcache(void)
 		break;
 	case CPU_24K:
 	case CPU_34K:
+	case CPU_74K:
 		if ((read_c0_config7() & (1 << 16))) {
 			/* effectively physically indexed dcache,
 			   thus no virtual aliases. */