Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292489
b: refs/heads/master
c: e9daf2a
h: refs/heads/master
i:
  292487: 01caa7f
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed Mar 7, 2012
1 parent b6b8ffd commit 3f64897
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2007ce8447c9a71d9d694ddcdf64f9dbbf022ff
refs/heads/master: e9daf2ad7f603f173d7cd7ee3673b326414f82f4
15 changes: 0 additions & 15 deletions trunk/arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@

#include <linux/linux_logo.h>

/*
* 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
*/
Expand Down Expand 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);
Expand Down

0 comments on commit 3f64897

Please sign in to comment.