patch-2.4.0-test6 linux/include/asm-m68k/pgalloc.h

Next file: linux/include/asm-m68k/pgtable.h
Previous file: linux/include/asm-m68k/page.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/include/asm-m68k/pgalloc.h linux/include/asm-m68k/pgalloc.h
@@ -277,7 +277,7 @@
 }
 
 /* Push the page at kernel virtual address and clear the icache */
-#define flush_page_to_ram(page) __flush_page_to_ram(page_address(page))
+#define flush_page_to_ram(page) __flush_page_to_ram((unsigned long) page_address(page))
 extern inline void __flush_page_to_ram(unsigned long address)
 {
 	if (CPU_IS_040_OR_060) {
@@ -296,6 +296,8 @@
 				     : "di" (FLUSH_I));
 	}
 }
+
+#define flush_dcache_page(page)			do { } while (0)
 
 /* Push n pages at kernel virtual address and clear the icache */
 extern inline void flush_icache_range (unsigned long address,

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