add final fix for brcm47xx-2.6 memory corruption (patch from #1465)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 12:26:33 +0000 (12:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 12:26:33 +0000 (12:26 +0000)
SVN-Revision: 6575

target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/cfe_env.c

index 326809567bc8e45ae6f3c9cadcd6bf21d2492ad5..c1d5eeef59fc2c78e5bb8ef93bf3e7c5124a25df 100644 (file)
@@ -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"