patch-2.3.25 linux/include/asm-arm/proc-armv/cache.h
Next file: linux/include/asm-arm/proc-armv/pgtable.h
Previous file: linux/include/asm-arm/proc-armo/pgtable.h
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Thu Oct 28 10:16:02 1999
-  Orig file: 
v2.3.24/linux/include/asm-arm/proc-armv/cache.h
-  Orig date: 
Fri Oct 22 13:21:53 1999
diff -u --recursive --new-file v2.3.24/linux/include/asm-arm/proc-armv/cache.h linux/include/asm-arm/proc-armv/cache.h
@@ -54,8 +54,11 @@
  * This flushes back any buffered write data.  We have to clean the entries
  * in the cache for this page.  This does not invalidate either I or D caches.
  */
-#define flush_page_to_ram(_page)					\
-	cpu_flush_ram_page((_page) & PAGE_MASK);
+static __inline__ void flush_page_to_ram(struct page *page)
+{
+	unsigned long virt = page_address(page);
+	cpu_flush_ram_page(virt);
+}
 
 /*
  * TLB flushing:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)