aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-16 12:26:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-16 12:26:33 +0000
commita8fbb232f8663eb8e34f7c1e93cbac89a5c8b001 (patch)
treecf5ad82c83f951f13c53e293bb2d309ab3b8cc1b
parentb14f137a2e1ce54e68cbc6c4fa66e25b19ac4753 (diff)
downloadupstream-a8fbb232f8663eb8e34f7c1e93cbac89a5c8b001.tar.gz
upstream-a8fbb232f8663eb8e34f7c1e93cbac89a5c8b001.tar.bz2
upstream-a8fbb232f8663eb8e34f7c1e93cbac89a5c8b001.zip
add final fix for brcm47xx-2.6 memory corruption (patch from #1465)
SVN-Revision: 6575
-rw-r--r--target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c4
1 files 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 <asm/uaccess.h>
#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"