* [PATCH] define MIPS34K_MISSED_ITLB_WAR for other PMC-Sierra SoC
@ 2009-04-27 14:47 Florian Fainelli
2009-07-13 12:03 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-04-27 14:47 UTC (permalink / raw)
To: linux-mips, Ralf Baechle
Trying to build a PMC-Sierra MSP4200 VoIP gateway defconfig
will not work since MIPS34K_MISSED_ITLB_WAR is not defined
for all boards supported within pmc-serria/msp71xx. This
patch defines MIPS34K_MISSED_ITLB_WAR to prevent such build
failures:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-mips
CC arch/mips/kernel/asm-offsets.s
In file included fromlinux-msp71xx/linux-2.6.29/arch/mips/include/asm/bitops.h:24,
from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/mips/kernel/asm-offsets.c:13:
linux-msp71xx/linux-2.6.29/arch/mips/include/asm/war.h:241:2: error: #error Check setting of MIPS34K_MISSED_ITLB_WAR for your
platform
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/include/asm/pmc-sierra/msp71xx/war.h b/arch/mips/include/asm/pmc-sierra/msp71xx/war.h
index 0bf48fc..9e2ee42 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 */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] define MIPS34K_MISSED_ITLB_WAR for other PMC-Sierra SoC
2009-04-27 14:47 [PATCH] define MIPS34K_MISSED_ITLB_WAR for other PMC-Sierra SoC Florian Fainelli
@ 2009-07-13 12:03 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-07-13 12:03 UTC (permalink / raw)
To: Florian Fainelli; +Cc: linux-mips
On Mon, Apr 27, 2009 at 04:47:23PM +0200, Florian Fainelli wrote:
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-13 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 14:47 [PATCH] define MIPS34K_MISSED_ITLB_WAR for other PMC-Sierra SoC Florian Fainelli
2009-07-13 12:03 ` 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).