From 23d1ac62f3a065ea230b60e31d6edd242e908461 Mon Sep 17 00:00:00 2001 From: Sebastian Siewior Date: Sat, 1 Nov 2008 10:00:56 +0000 Subject: [PATCH] --- yaml --- r: 123019 b: refs/heads/master c: 5b4d2189446fd31cd618bbd1c24566b8d0ab11c8 h: refs/heads/master i: 123017: 3d42046c6224bff815b1af3f0db8d448019dd944 123015: 8495696164fd7840f581ff66e384759c6306f3c5 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/boot/libfdt-wrapper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b2b165a0bb74..3ef9ec35a436 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7d4320f3d5ace5758111f2beac931376737f80f5 +refs/heads/master: 5b4d2189446fd31cd618bbd1c24566b8d0ab11c8 diff --git a/trunk/arch/powerpc/boot/libfdt-wrapper.c b/trunk/arch/powerpc/boot/libfdt-wrapper.c index 9276327bc2bb..bb8b9b3505ee 100644 --- a/trunk/arch/powerpc/boot/libfdt-wrapper.c +++ b/trunk/arch/powerpc/boot/libfdt-wrapper.c @@ -185,7 +185,7 @@ void fdt_init(void *blob) /* Make sure the dt blob is the right version and so forth */ fdt = blob; - bufsize = fdt_totalsize(fdt) + 4; + bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; buf = malloc(bufsize); if(!buf) fatal("malloc failed. can't relocate the device tree\n\r");