patch-2.4.22 linux-2.4.22/include/asm-mips/cache.h
Next file: linux-2.4.22/include/asm-mips/cacheflush.h
Previous file: linux-2.4.22/include/asm-mips/bootinfo.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-mips/cache.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.21/include/asm-mips/cache.h linux-2.4.22/include/asm-mips/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)