From: Felix Fietkau Date: Fri, 16 Mar 2007 12:26:33 +0000 (+0000) Subject: add final fix for brcm47xx-2.6 memory corruption (patch from #1465) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fflorian.git;a=commitdiff_plain;h=a8fbb232f8663eb8e34f7c1e93cbac89a5c8b001 add final fix for brcm47xx-2.6 memory corruption (patch from #1465) SVN-Revision: 6575 --- diff --git a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c index 326809567b..c1d5eeef59 100644 --- a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c +++ b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c @@ -18,8 +18,8 @@ #include #define NVRAM_SIZE (0x1ff0) -static char _nvdata[NVRAM_SIZE] __initdata; -static char _valuestr[256] __initdata; +static char _nvdata[NVRAM_SIZE]; +static char _valuestr[256]; /* * TLV types. These codes are used in the "type-length-value"