patch-2.4.20 linux-2.4.20/arch/mips/mm/tlb-r3k.c
Next file: linux-2.4.20/arch/mips/mm/tlb-r4k.c
Previous file: linux-2.4.20/arch/mips/mm/r5k-sc.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/mm/tlb-r3k.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/mm/tlb-r3k.c linux-2.4.20/arch/mips/mm/tlb-r3k.c
@@ -20,7 +20,6 @@
#include <asm/system.h>
#include <asm/isadep.h>
#include <asm/io.h>
-#include <asm/wbflush.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
@@ -200,12 +199,12 @@
unsigned long flags;
unsigned long old_ctx;
static unsigned long wired = 0;
-
+
#ifdef CONFIG_CPU_TX39XX
if (r3k_have_wired_reg) {
unsigned long old_pagemask;
unsigned long w;
-
+
#ifdef DEBUG_TLB
printk("[tlbwired]");
printk("ently lo0 %8x, hi %8x\n, pagemask %8x\n",
@@ -226,7 +225,7 @@
set_entryhi(entryhi);
set_entrylo0(entrylo0);
tlb_write_indexed();
-
+
set_entryhi(old_ctx);
set_pagemask (old_pagemask);
local_flush_tlb_all();
@@ -244,7 +243,7 @@
wired++;
tlb_write_indexed();
set_entryhi(old_ctx);
- local_flush_tlb_all();
+ local_flush_tlb_all();
__restore_flags(flags);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)