From: Graeme Gregory graeme.gregory@linaro.org
Reserve the ACPI table location to prevent kernel overwrite. This may fix the issue Al observed with bigger tables.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org --- drivers/of/fdt.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index b2c7674..12eb351 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -732,6 +732,8 @@ int __init early_init_dt_scan_acpi(unsigned long node, const char *uname, printk(KERN_DEBUG "acpi: start info is 0x%08lX, %lu bytes\n", pinfo->phys_address, pinfo->size);
+ memblock_reserve(pinfo->phys_address, pinfo->size); + sig = phys_to_virt(pinfo->phys_address); printk(KERN_DEBUG "acpi: sig is "%c%c%c%c"\n", sig[0], sig[1], sig[2], sig[3]);