Procházet zdrojové kódy

[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>
Ralf Baechle před 18 roky
rodič
revize
2806ccd7ad
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      arch/mips/mm/tlb-r4k.c

+ 0 - 1
arch/mips/mm/tlb-r4k.c

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