From: nbd 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.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=734d742edaaca656c5962f44e8a31cb62092b2da add final fix for brcm47xx-2.6 memory corruption (patch from #1465) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6575 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 326809567..c1d5eeef5 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"