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

From: Catalin Marinas
Date: Fri Sep 12 2014 - 10:51:17 EST


On Fri, Sep 12, 2014 at 03:00:03PM +0100, Hanjun Guo wrote:
> --- a/drivers/acpi/Makefile
> +++ b/drivers/acpi/Makefile
> @@ -23,7 +23,11 @@ acpi-y += nvs.o
>
> # Power management related files
> acpi-y += wakeup.o
> +ifeq ($(ARCH), arm64)
> +acpi-y += sleep-arm.o
> +else # X86, IA64
> acpi-y += sleep.o
> +endif
> acpi-y += device_pm.o
> acpi-$(CONFIG_ACPI_SLEEP) += proc.o

What about:

-acpi-y += sleep.o
+acpi-$(CONFIG_ACPI_SLEEP) += sleep.o

and make CONFIG_ACPI_SLEEP depend on !ARM64? Does the kernel compile if
you disable CONFIG_ACPI_SLEEP?

--
Catalin

--
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/