On 07/17/2013 09:38 AM, Graeme Gregory wrote:
From: Graeme Gregory graeme.gregory@linaro.org
Remove the debugging code from acpi initialisation as it is no longer needed and causes issues becuase it is called before paging_init() which depending on memory layout crashes.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org
drivers/of/fdt.c | 14 -------------- 1 file changed, 14 deletions(-)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 0535169..3b8b38e 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -728,20 +728,6 @@ int __init early_init_dt_scan_acpi(unsigned long node, const char *uname, if (p != NULL && l > 0) pinfo->size = be32_to_cpu(*p);
- printk("acpi: start info is 0x%016llX, %lu bytes\n",
pinfo->phys_address, pinfo->size);
- memblock_reserve(pinfo->phys_address, pinfo->size);
- sig = phys_to_virt(pinfo->phys_address);
- printk("acpi: sig is "%c%c%c%c"\n",
sig[0], sig[1], sig[2], sig[3]);
- printk("acpi: info is %02x %02x %02x %02x\n",
sig[4], sig[5], sig[6], sig[7]);
- printk("acpi: first table is "%c%c%c%c"\n",
sig[8], sig[9], sig[10], sig[11]);
- return 1; } #endif
Kewl.
Acked-by: Al Stone al.stone@linaro.org