Switch to kernel 3.3.8(solo2)
[vuplus_openvuplus_3.0] / meta-bsp / common / recipes / linux / linux-vuplus-3.3.8 / bmips-no-array-bounds.patch
1 diff --git a/arch/mips/Makefile b/arch/mips/Makefile
2 index 4fedf5a..e7f3f34 100644
3 --- a/arch/mips/Makefile
4 +++ b/arch/mips/Makefile
5 @@ -157,7 +157,7 @@ ifeq (,$(findstring march=octeon, $(cflags-$(CONFIG_CPU_CAVIUM_OCTEON))))
6  cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon
7  endif
8  cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
9 -cflags-$(CONFIG_CPU_BMIPS)     += -march=mips32 -Wa,-mips32 -Wa,--trap
10 +cflags-$(CONFIG_CPU_BMIPS)     += -march=mips32 -Wa,-mips32 -Wa,--trap -Wno-array-bounds
11  
12  cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
13  cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)