patch-2.4.6 linux/include/asm-ppc/highmem.h

Next file: linux/include/asm-ppc/linux_logo.h
Previous file: linux/include/asm-ppc/hardirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/include/asm-ppc/highmem.h linux/include/asm-ppc/highmem.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.highmem.h 1.7 05/17/01 18:14:24 cort
+ * BK Id: SCCS/s.highmem.h 1.10 06/28/01 15:50:17 paulus
  */
 /*
  * highmem.h: virtual kernel memory mappings for high memory
@@ -94,7 +94,7 @@
 		BUG();
 #endif
 	set_pte(kmap_pte+idx, mk_pte(page, kmap_prot));
-	flush_hash_page(0, vaddr);
+	flush_tlb_page(0, vaddr);
 
 	return (void*) vaddr;
 }
@@ -116,7 +116,7 @@
 	 * this pte without first remap it
 	 */
 	pte_clear(kmap_pte+idx);
-	flush_hash_page(0, vaddr);
+	flush_tlb_page(0, vaddr);
 #endif
 }
 

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