summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx-2.6/files/arch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-16 12:26:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-16 12:26:33 +0000
commit734d742edaaca656c5962f44e8a31cb62092b2da (patch)
tree863df9104ced3c6c77a7df5107e166c473622bc5 /target/linux/brcm47xx-2.6/files/arch
parent7c3c5ec11b821553b62bf33efc76598e8e979fae (diff)
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/brcm47xx-2.6/files/arch')
-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 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 <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"