aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit823ba94e3592e331e1986838f7cb6c1b51a3cb3d (patch)
tree863df9104ced3c6c77a7df5107e166c473622bc5 /target/linux
parent199cce687af2f9f603baf1bc24127bfa42ec8a82 (diff)
downloadupstream-823ba94e3592e331e1986838f7cb6c1b51a3cb3d.tar.gz
upstream-823ba94e3592e331e1986838f7cb6c1b51a3cb3d.tar.bz2
upstream-823ba94e3592e331e1986838f7cb6c1b51a3cb3d.zip
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
Diffstat (limited to 'target/linux')
-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"