]> err.no Git - linux-2.6/blobdiff - include/linux/highmem.h
[PATCH] Driver Core: remove unused exports
[linux-2.6] / include / linux / highmem.h
index 6bece9280eb779cf673e9f700ccc64ccc28d543a..85ce7ef9a51200a8351fa155829682c5128718ec 100644 (file)
@@ -1,12 +1,23 @@
 #ifndef _LINUX_HIGHMEM_H
 #define _LINUX_HIGHMEM_H
 
-#include <linux/config.h>
 #include <linux/fs.h>
 #include <linux/mm.h>
 
 #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>