]> err.no Git - linux-2.6/blobdiff - include/asm-x86/cacheflush.h
x86: fix spontaneous reboot with allyesconfig bzImage
[linux-2.6] / include / asm-x86 / cacheflush.h
index d15ff359d3e3db73a39172a46143907f694efd4e..5396c212d8c09d8af1d8d5d82e9996ba50c2dfb6 100644 (file)
@@ -24,7 +24,6 @@
 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \
        memcpy(dst, src, len)
 
-void global_flush_tlb(void);
 int __deprecated_for_modules change_page_attr(struct page *page, int numpages,
                                                                pgprot_t prot);
 
@@ -43,10 +42,22 @@ int set_memory_ro(unsigned long addr, int numpages);
 int set_memory_rw(unsigned long addr, int numpages);
 int set_memory_np(unsigned long addr, int numpages);
 
-void clflush_cache_range(void *addr, int size);
+void clflush_cache_range(void *addr, unsigned int size);
+
+void cpa_init(void);
 
 #ifdef CONFIG_DEBUG_RODATA
 void mark_rodata_ro(void);
+extern const int rodata_test_data;
+#endif
+
+#ifdef CONFIG_DEBUG_RODATA_TEST
+int rodata_test(void);
+#else
+static inline int rodata_test(void)
+{
+       return 0;
+}
 #endif
 
 #endif