From a8fbb232f8663eb8e34f7c1e93cbac89a5c8b001 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 16 Mar 2007 12:26:33 +0000 Subject: [PATCH] add final fix for brcm47xx-2.6 memory corruption (patch from #1465) SVN-Revision: 6575 --- target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.25.1