summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/cacheops.h
diff options
context:
space:
mode:
authorFuxin Zhang <zhangfx@lemote.com>2007-06-06 08:52:43 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-10 18:33:02 +0200
commit2a21c7300b53b744d16903256a172d9cbcfdd03e (patch)
tree6a6f186fc7d4ab51fdda628a42f1fa845f189b8b /include/asm-mips/cacheops.h
parent[MIPS] Convert init_thread initialization to ISO C initializers. (diff)
downloadlinux-2a21c7300b53b744d16903256a172d9cbcfdd03e.tar.xz
linux-2a21c7300b53b744d16903256a172d9cbcfdd03e.zip
[MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/cacheops.h')
-rw-r--r--include/asm-mips/cacheops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/cacheops.h b/include/asm-mips/cacheops.h
index c4a1ec31ff6a..df7f2deb3b56 100644
--- a/include/asm-mips/cacheops.h
+++ b/include/asm-mips/cacheops.h
@@ -20,7 +20,11 @@
#define Index_Load_Tag_D 0x05
#define Index_Store_Tag_I 0x08
#define Index_Store_Tag_D 0x09
+#if defined(CONFIG_CPU_LOONGSON2)
+#define Hit_Invalidate_I 0x00
+#else
#define Hit_Invalidate_I 0x10
+#endif
#define Hit_Invalidate_D 0x11
#define Hit_Writeback_Inv_D 0x15