Skip to contentSkip to conversation

Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards

PATCH In review Shane McDonald 2 participants 2 messages Jul 12, 2009 – Jul 13, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards

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.

---
 arch/mips/include/asm/pmc-sierra/msp71xx/war.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/mips/include/asm/pmc-sierra/msp71xx/war.h +2 -0
index 0bf48fc..713c960 100644
@@ -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 */
Signature · 1 line
1.6.2.4
#1 lore raw
Quoted 10 lines · Shane McDonald

From: Shane McDonald <[email protected]>
Date: Sun, 12 Jul 2009 10:56:00 -0600
To: [email protected], [email protected]
Subject: [PATCH] Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards

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.

Thanks for the patch; I applied Florian's identical patch on the merrit that it was submitted earlier.

Ralf