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

Matthew Garrett mjg59 at srcf.ucam.org
Tue Sep 16 18:31:14 PDT 2014


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 at srcf.ucam.org



More information about the linux-arm-kernel mailing list