patch-2.4.19 linux-2.4.19/include/asm-mips/cache.h

Next file: linux-2.4.19/include/asm-mips/checksum.h
Previous file: linux-2.4.19/include/asm-mips/byteorder.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips/cache.h linux-2.4.19/include/asm-mips/cache.h
@@ -11,7 +11,7 @@
 
 #include <linux/config.h>
 
-#ifndef _LANGUAGE_ASSEMBLY
+#ifndef __ASSEMBLY__
 /*
  * Descriptor for a cache
  */
@@ -21,14 +21,14 @@
 	int ways;
 	int flags;	/* Details like write thru/back, coherent, etc. */
 };
-#endif
+#endif /* !__ASSEMBLY__ */
 
 /*
  * Flag definitions
  */
 #define MIPS_CACHE_NOT_PRESENT 0x00000001
 
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R6000)
+#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R6000) || defined(CONFIG_CPU_TX39XX)
 #define L1_CACHE_BYTES		16
 #else
 #define L1_CACHE_BYTES 		32	/* A guess */

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