aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-12-18 20:12:42 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-01-18 20:08:26 -0500
commit2806ccd7ad9073f4f1a065b5672d7592e7838e97 (patch)
treecf154b4dcfdf737df563c84c29a11a97b73490d1 /arch/mips/mm
parentc80697b3a0d05dd87eeeb55c4dd1c3dae047293e (diff)
[MIPS] Delete duplicate call to load_irq_save.
This call may have resulted to local_tlb_flush_range returning with interrupts disabled resulting in excessive interrupt latency. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/tlb-r4k.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mm/tlb-r4k.c b/arch/mips/mm/tlb-r4k.c
index 2e0e21ef433e..65160d4984d9 100644
--- a/arch/mips/mm/tlb-r4k.c
+++ b/arch/mips/mm/tlb-r4k.c
@@ -106,7 +106,6 @@ void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
106 ENTER_CRITICAL(flags); 106 ENTER_CRITICAL(flags);
107 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; 107 size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT;
108 size = (size + 1) >> 1; 108 size = (size + 1) >> 1;
109 local_irq_save(flags);
110 if (size <= current_cpu_data.tlbsize/2) { 109 if (size <= current_cpu_data.tlbsize/2) {
111 int oldpid = read_c0_entryhi(); 110 int oldpid = read_c0_entryhi();
112 int newpid = cpu_asid(cpu, mm); 111 int newpid = cpu_asid(cpu, mm);