patch-2.4.22 linux-2.4.22/include/asm-sh/pgtable.h

Next file: linux-2.4.22/include/asm-sh/processor.h
Previous file: linux-2.4.22/include/asm-sh/pgalloc.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-sh/pgtable.h linux-2.4.22/include/asm-sh/pgtable.h
@@ -43,6 +43,7 @@
 #define flush_icache_page(vma,pg)		do { } while (0)
 #define flush_icache_user_range(vma,pg,adr,len)	do { } while (0)
 #define flush_cache_sigtramp(vaddr)		do { } while (0)
+#define __flush_icache_all()			do { } while (0)
 
 #define p3_cache_init()				do { } while (0)
 
@@ -310,4 +311,10 @@
  */
 #define pgtable_cache_init()	do { } while (0)
 
+/*
+ * Set pg flags to non-cached
+ */
+#define pgprot_noncached(_prot) __pgprot(pgprot_val(_prot) &= ~_PAGE_CACHABLE)
+
+
 #endif /* __ASM_SH_PAGE_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)