ralink: update patches
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.9 / 0138-MIPS-ralink-workaround-DTB-memory-issue.patch
1 From bcffa7a81e00b8f67c459a2f5526edc0a5077794 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 23 May 2013 18:50:56 +0200
4 Subject: [PATCH 138/164] MIPS: ralink: workaround DTB memory issue
5
6 If the DTB is too big a bug happens on boot when init ram is freed.
7 This is a temporary fix until the real cause is found.
8
9 Signed-off-by: John Crispin <blogic@openwrt.org>
10 ---
11 arch/mips/ralink/of.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c
15 index b25c1f2..8efb02b 100644
16 --- a/arch/mips/ralink/of.c
17 +++ b/arch/mips/ralink/of.c
18 @@ -74,7 +74,7 @@ void __init device_tree_init(void)
19 unflatten_device_tree();
20
21 /* free the space reserved for the dt blob */
22 - free_bootmem(base, size);
23 + //free_bootmem(base, size);
24 }
25
26 void __init plat_mem_setup(void)
27 --
28 1.7.10.4
29