Re: [PATCH v4 05/18] ARM64 / ACPI: Introduce sleep-arm.c

From: Matthew Garrett
Date: Tue Sep 16 2014 - 21:31:54 EST


On Fri, Sep 12, 2014 at 04:49:03PM +0100, Catalin Marinas wrote:

> Now, for x86, do we need acpi_sleep_init() when CONFIG_ACPI_SLEEP is
> off? If not, we could simply add a dummy acpi_sleep_init() function when
> !ACPI_SLEEP and don't enable the config option for arm64.

The !ACPI_SLEEP case still uses the ACPI code for powering the system
down. I'd recommend adding a new CONFIG_ACPI_POWER_OFF option, wrapping
the remaining code in sleep.c and disabling that on ARM.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/