patch-2.4.25 linux-2.4.25/include/asm-mips/highmem.h

Next file: linux-2.4.25/include/asm-mips/jazz.h
Previous file: linux-2.4.25/include/asm-mips/hazards.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-mips/highmem.h linux-2.4.25/include/asm-mips/highmem.h
@@ -87,8 +87,7 @@
 	idx = type + KM_TYPE_NR*smp_processor_id();
 	vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
 	set_pte(kmap_pte-idx, mk_pte(page, kmap_prot));
-	//local_flush_tlb_page(NULL, vaddr);
-	local_flush_tlb_all();
+	local_flush_tlb_one(vaddr);
 
 	return (void*) vaddr;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)