From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 15 Apr 2007 16:32:15 +0100 (BST) Received: from [222.92.8.141] ([222.92.8.141]:13529 "HELO lemote.com") by ftp.linux-mips.org with SMTP id S20022709AbXDOP1i (ORCPT ); Sun, 15 Apr 2007 16:27:38 +0100 Received: (qmail 19458 invoked by uid 511); 15 Apr 2007 15:28:06 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.2.197) by lemote.com with SMTP; 15 Apr 2007 15:28:06 -0000 From: tiansm@lemote.com To: linux-mips@linux-mips.org Cc: Fuxin Zhang Subject: [PATCH 6/16] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 Date: Sun, 15 Apr 2007 23:25:55 +0800 Message-Id: <11766507662650-git-send-email-tiansm@lemote.com> X-Mailer: git-send-email 1.4.4.1 In-Reply-To: <11766507661526-git-send-email-tiansm@lemote.com> 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> Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 14855 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: tiansm@lemote.com Precedence: bulk X-list: linux-mips From: Fuxin Zhang Signed-off-by: Fuxin Zhang --- 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