linux-mips
[Top] [All Lists]

[PATCH 6/16] define Hit_Invalidate_I to Index_Invalidate_I for loongson2

To: linux-mips@linux-mips.org
Subject: [PATCH 6/16] define Hit_Invalidate_I to Index_Invalidate_I for loongson2
From: tiansm@lemote.com
Date: Sun, 15 Apr 2007 23:25:55 +0800
Cc: Fuxin Zhang <zhangfx@lemote.com>
In-reply-to: <11766507661526-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11766507651736-git-send-email-tiansm@lemote.com> <11766507661317-git-send-email-tiansm@lemote.com> <11766507661726-git-send-email-tiansm@lemote.com> <11766507662638-git-send-email-tiansm@lemote.com> <11766507661133-git-send-email-tiansm@lemote.com> <11766507661526-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
From: Fuxin Zhang <zhangfx@lemote.com>

Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
 include/asm-mips/cacheops.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/asm-mips/cacheops.h b/include/asm-mips/cacheops.h
index c4a1ec3..df7f2de 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
 
-- 
1.4.4.1


<Prev in Thread] Current Thread [Next in Thread>