linux-mips
[Top] [All Lists]

[PATCH] Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards
From: Shane McDonald <mcdonald.shane@gmail.com>
Date: Sun, 12 Jul 2009 10:56:00 -0600
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:subject :message-id:from:date; bh=m249hhVPRsJt92PvgElsGKyz+JDQDVGAqJ2GIoL+DbY=; b=D6pyaifDs0dkj4Q//dMHi40ZVkG5Yr2K1wipJMKNr139CtbA1+neV2m3wnrrOopbCR 0yL0BO1DE20XBNf+aE5FMnUwg499oi48AuZCa9I1hVaRHSldcfR19p55jWzM5/o5m9hd YG1xNOQUC7e4nXuYQr/BKY9csIU8FybUK0P1A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:message-id:from:date; b=AoT4Mf5UCdCIIITuCoi2q4LZT7CjAudamiZFbJ60T3hgU4/tELohN9hZFw5phFLKEX 6nkXZxQMtuOBAK2GYl46lknFhfiFVzhmAKOdjHkr5iLt5br3FTZ09s+8FmuGUPMrm/iV YMQ10wn828ixRqL5B/kgilyWBPbKPpyv0w69E=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The msp71xx/war.h file defines the value of MIPS34K_MISSED_ITLB_WAR
for the various MSP7120 boards, but doesn't specify a value for other
board types.  Set it to 0 for other boards.

This fixes a compile error when building for the MSP4200 boards.

Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
---
 arch/mips/include/asm/pmc-sierra/msp71xx/war.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/war.h 
b/arch/mips/include/asm/pmc-sierra/msp71xx/war.h
index 0bf48fc..713c960 100644
--- a/arch/mips/include/asm/pmc-sierra/msp71xx/war.h
+++ b/arch/mips/include/asm/pmc-sierra/msp71xx/war.h
@@ -23,6 +23,8 @@
 #if defined(CONFIG_PMC_MSP7120_EVAL) || defined(CONFIG_PMC_MSP7120_GW) || \
        defined(CONFIG_PMC_MSP7120_FPGA)
 #define MIPS34K_MISSED_ITLB_WAR         1
+#else
+#define MIPS34K_MISSED_ITLB_WAR                0
 #endif
 
 #endif /* __ASM_MIPS_PMC_SIERRA_WAR_H */
-- 
1.6.2.4


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