Skip to contentSkip to conversation

MIPS: Fix build failure of msp71xx default configuration

PATCH New Shane McDonald 1 participant 1 message Jan 4, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Fix build failure of msp71xx default configuration

The msp71xx default configuration fails to compile in Linux 3.8-rc2:

In file included from /home/shane/linux-mips/linux/arch/mips/include/asm/bitops.h:22,
from include/linux/bitops.h:22,
from include/linux/kernel.h:10,
from include/asm-generic/bug.h:13,
from /home/shane/linux-mips/linux/arch/mips/include/asm/bug.h:41, from include/linux/bug.h:4,
from include/linux/page-flags.h:9,
from kernel/bounds.c:9:
/home/shane/linux-mips/linux/arch/mips/include/asm/war.h:12:17: error: war.h: No such file or directory

This is because the Platform file points at the incorrect include file location, and therefore the war.h file cannot be found.

This patch changes the Platform file to point to the correct location.

Caused by a combination of the following lmo-only patches:

13a347ef60c68e490809dad8fcf79c25eabc4d58 [MIPS: MSP71xx: Move code.] a89c0370cb5429891d49abcc66f93c63b43c7dbe
[MIPS: Fix make distclean after moving the PMC-Sierra code.]

---
 arch/mips/pmcs-msp71xx/Platform |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/pmcs-msp71xx/Platform +1 -1
index e42a4d6..9a86e29 100644
@@ -2,6 +2,6 @@
 # PMC-Sierra MSP SOCs
 #
 platform-$(CONFIG_PMC_MSP)	+= pmcs-msp71xx/
-cflags-$(CONFIG_PMC_MSP)	+= -I$(srctree)/arch/mips/include/asm/pmc-sierra \
+cflags-$(CONFIG_PMC_MSP)	+= -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \
 					-mno-branch-likely
 load-$(CONFIG_PMC_MSP)		+= 0xffffffff80100000
Signature · 1 line
1.7.2.5