| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Fix build_tlb_probe_entry for R4700 |
| From: | Thomas Bogendoerfer <tsbogend@alpha.franken.de> |
| Date: | Mon, 12 May 2008 13:55:42 +0200 (CEST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Treat R4700 like R4600 in build_tlb_probe_entry. Without this fix
kernel will lock up.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
arch/mips/mm/tlbex.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 382738c..76da73a 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -224,8 +224,9 @@ static u32 final_handler[64] __cpuinitdata;
static void __cpuinit __maybe_unused build_tlb_probe_entry(u32 **p)
{
switch (current_cpu_type()) {
- /* Found by experiment: R4600 v2.0 needs this, too. */
+ /* Found by experiment: R4600 v2.0/R4700 needs this, too. */
case CPU_R4600:
+ case CPU_R4700:
case CPU_R5000:
case CPU_R5000A:
case CPU_NEVADA:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/7] au1xmmc: remove db1x00 board-specific functions from driver, Sergei Shtylyov |
|---|---|
| Next by Date: | [PATCH] Better load address for SNI RM, Thomas Bogendoerfer |
| Previous by Thread: | mips:(Alchemy au1200) how to use kdb to debug the kernel?is kdb inbuilt or kdb patch is required?, abhiruchi . g |
| Next by Thread: | Re: [PATCH] Fix build_tlb_probe_entry for R4700, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |