patch-2.2.4 linux/include/asm-ppc/cache.h

Next file: linux/include/asm-ppc/dma.h
Previous file: linux/include/asm-ppc/bootx.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/include/asm-ppc/cache.h linux/include/asm-ppc/cache.h
@@ -13,7 +13,11 @@
 #define        L1_CACHE_ALIGN(x)       (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
 #define L1_CACHE_PAGES		8
 
+#define        SMP_CACHE_BYTES L1_CACHE_BYTES
+
 #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+extern void flush_dcache_range(unsigned long start, unsigned long stop);
+
 static inline unsigned long unlock_dcache(void)
 {
 #ifndef CONFIG_8xx	

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