summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/pgalloc.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 19:25:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 19:25:53 +0000
commit57445428488a2862840c4d7c96d7746c11031aaf (patch)
tree60b88b3a21896a33ee4dccc727d88b745a9ff731 /include/asm-m68k/pgalloc.h
parent2e837819b1563679b55363d469239fdf4f17fbbb (diff)
Merge with Linu 2.4.0-test6-pre6.
Diffstat (limited to 'include/asm-m68k/pgalloc.h')
-rw-r--r--include/asm-m68k/pgalloc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-m68k/pgalloc.h b/include/asm-m68k/pgalloc.h
index 93f342308..028b7c40e 100644
--- a/include/asm-m68k/pgalloc.h
+++ b/include/asm-m68k/pgalloc.h
@@ -277,7 +277,7 @@ extern inline void flush_cache_page(struct vm_area_struct *vma,
}
/* 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) {
@@ -297,6 +297,8 @@ extern inline void __flush_page_to_ram(unsigned long address)
}
}
+#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,
unsigned long endaddr)