[MIPS] Delete duplicate call to load_irq_save.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 19 Dec 2006 01:12:42 +0000 (02:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 19 Jan 2007 01:08:26 +0000 (01:08 +0000)
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>
arch/mips/mm/tlb-r4k.c

index 2e0e21ef433ee1451ba4e7c125e4338b01bc64e0..65160d4984d9352234f493824479747da20cbdda 100644 (file)
@@ -106,7 +106,6 @@ void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
                ENTER_CRITICAL(flags);
                size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT;
                size = (size + 1) >> 1;
-               local_irq_save(flags);
                if (size <= current_cpu_data.tlbsize/2) {
                        int oldpid = read_c0_entryhi();
                        int newpid = cpu_asid(cpu, mm);