From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-owner@vger.kernel.org] On Behalf Of al.stone@linaro.org Sent: Sunday, November 10, 2013 9:36 AM
From: Al Stone ahs3@redhat.com
Corrected #ifdef so that DMI is not used on ARM platforms which are currently implementing reduced HW mode.
Signed-off-by: Al Stone al.stone@linaro.org
drivers/acpi/bus.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 6a54dd5..f41949a 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -513,11 +513,15 @@ void __init acpi_early_init(void)
acpi_gbl_permanent_mmap = 1;
+#if !(CONFIG_ARM || CONFIG_ARM64) /*
* NB: ARM does not use DMI at present.
*
*/ dmi_check_system(dsdt_dmi_table);
- If the machine falls into the DMI check table,
- DSDT will be copied to memory
+#endif
I can see dsdt_dmi_table is well protected in this file. So is that possible to introduce dmi_check_system() stub for non DMI systems?
Thanks -Lv
status = acpi_reallocate_root_table(); if (ACPI_FAILURE(status)) { -- 1.8.3.1
-- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html