linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards
@ 2009-07-12 16:56 Shane McDonald
  2009-07-13 12:07 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Shane McDonald @ 2009-07-12 16:56 UTC (permalink / raw)
  To: linux-mips, ralf

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-13 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12 16:56 [PATCH] Define MIPS34K_MISSED_ITLB_WAR for non-MSP7120 boards Shane McDonald
2009-07-13 12:07 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).