patch-2.4.22 linux-2.4.22/include/asm-mips64/cache.h

Next file: linux-2.4.22/include/asm-mips64/cacheflush.h
Previous file: linux-2.4.22/include/asm-mips64/bootinfo.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-mips64/cache.h linux-2.4.22/include/asm-mips64/cache.h
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1997, 98, 99, 2000 Ralf Baechle
+ * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
  * Copyright (C) 1999 Silicon Graphics, Inc.
  */
 #ifndef _ASM_CACHE_H
@@ -11,24 +11,8 @@
 
 #include <linux/config.h>
 
-#ifndef __ASSEMBLY__
-/*
- * Descriptor for a cache
- */
-struct cache_desc {
-	int linesz;
-	int sets;
-	int ways;
-	int flags;	/* Details like write thru/back, coherent, etc. */
-};
-#endif /* !__ASSEMBLY__ */
-
-/*
- * Flag definitions
- */
-#define MIPS_CACHE_NOT_PRESENT 0x00000001
-
-#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R6000) || defined(CONFIG_CPU_TX39XX)
+#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)