]> err.no Git - linux-2.6/blobdiff - include/linux/highmem.h
[PATCH] add slab_is_available() routine for boot code
[linux-2.6] / include / linux / highmem.h
index 6bece9280eb779cf673e9f700ccc64ccc28d543a..892c4ea1b4254a63d6540f948229a6f8164282e1 100644 (file)
@@ -7,6 +7,18 @@
 
 #include <asm/cacheflush.h>
 
+#ifndef ARCH_HAS_FLUSH_ANON_PAGE
+static inline void flush_anon_page(struct page *page, unsigned long vmaddr)
+{
+}
+#endif
+
+#ifndef ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
+static inline void flush_kernel_dcache_page(struct page *page)
+{
+}
+#endif
+
 #ifdef CONFIG_HIGHMEM
 
 #include <asm/highmem.h>