From 3f6489787069eaa3c4b0599e9097d7d4fb7f5255 Mon Sep 17 00:00:00 2001 From: Nishanth Aravamudan Date: Mon, 27 Feb 2012 08:55:15 +0000 Subject: [PATCH] --- yaml --- r: 292489 b: refs/heads/master c: e9daf2ad7f603f173d7cd7ee3673b326414f82f4 h: refs/heads/master i: 292487: 01caa7fae96f7a0dd036cb5a5a3272a7f9a69071 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/kernel/prom_init.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/[refs] b/[refs] index ece5d91149ec..3c3c35bc32a8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a2007ce8447c9a71d9d694ddcdf64f9dbbf022ff +refs/heads/master: e9daf2ad7f603f173d7cd7ee3673b326414f82f4 diff --git a/trunk/arch/powerpc/kernel/prom_init.c b/trunk/arch/powerpc/kernel/prom_init.c index eca626ea3f23..e2d599048142 100644 --- a/trunk/arch/powerpc/kernel/prom_init.c +++ b/trunk/arch/powerpc/kernel/prom_init.c @@ -47,14 +47,6 @@ #include -/* - * Properties whose value is longer than this get excluded from our - * copy of the device tree. This value does need to be big enough to - * ensure that we don't lose things like the interrupt-map property - * on a PCI-PCI bridge. - */ -#define MAX_PROPERTY_LENGTH (1UL * 1024 * 1024) - /* * Eventually bump that one up */ @@ -2273,13 +2265,6 @@ static void __init scan_dt_build_struct(phandle node, unsigned long *mem_start, /* sanity checks */ if (l == PROM_ERROR) continue; - if (l > MAX_PROPERTY_LENGTH) { - prom_printf("WARNING: ignoring large property "); - /* It seems OF doesn't null-terminate the path :-( */ - prom_printf("[%s] ", path); - prom_printf("%s length 0x%x\n", RELOC(pname), l); - continue; - } /* push property head */ dt_push_token(OF_DT_PROP, mem_start, mem_end);