From: Al Stone ahs3@redhat.com
Signed-off-by: Al Stone al.stone@linaro.org --- drivers/acpi/bus.c | 2 +- drivers/acpi/processor_idle.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index ed99fec..921c335 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -543,7 +543,7 @@ void __init acpi_early_init(void) goto error0; }
-#if (!CONFIG_ACPI_REDUCED_HARDWARE) +#if !(CONFIG_ARM || CONFIG_ARM64) && (!ACPI_REDUCED_HARDWARE) /* NB: in HW reduced mode, FADT sci_interrupt has no meaning */ if (!acpi_ioapic) { /* compatible (0) means level (3) */ diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index c6c8058..f85eb05 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -224,7 +224,7 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr, static u32 saved_bm_rld; #endif
-#ifdef ACPI_REDUCED_HARDWARE +#if (ACPI_REDUCED_HARDWARE) /* Bus Master Reload is not supported in the reduced hardware profile */ static int acpi_processor_suspend(void) { @@ -238,7 +238,7 @@ static int acpi_processor_suspend(void) } #endif
-#ifdef ACPI_REDUCED_HARDWARE +#if (ACPI_REDUCED_HARDWARE) /* Bus Master Reload is not supported in the reduced hardware profile */ static void acpi_processor_resume(void) { } #else