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

Next file: linux-2.4.19/include/asm-mips64/cacheops.h
Previous file: linux-2.4.19/include/asm-mips64/bugs.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips64/cache.h linux-2.4.19/include/asm-mips64/cache.h
@@ -9,6 +9,20 @@
 #ifndef _ASM_CACHE_H
 #define _ASM_CACHE_H
 
+#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__ */
+
 /* bytes per L1 cache line */
 #define L1_CACHE_BYTES		(1 << CONFIG_L1_CACHE_SHIFT)
 

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