* [PATCH] Fix build_tlb_probe_entry for R4700
@ 2008-05-12 11:55 Thomas Bogendoerfer
2008-05-13 7:20 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bogendoerfer @ 2008-05-12 11:55 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
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:
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix build_tlb_probe_entry for R4700
2008-05-12 11:55 [PATCH] Fix build_tlb_probe_entry for R4700 Thomas Bogendoerfer
@ 2008-05-13 7:20 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-05-13 7:20 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux-mips
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-13 7:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 11:55 [PATCH] Fix build_tlb_probe_entry for R4700 Thomas Bogendoerfer
2008-05-13 7:20 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox