[PATCH 09/12] arm64: psci: factor invocation code to drivers

Mark Rutland mark.rutland at arm.com
Wed May 13 02:40:56 PDT 2015


> +int __init psci_dt_init(void);
> +
> +#ifdef CONFIG_ACPI
> +int __init psci_acpi_init(void);
> +bool __init acpi_psci_present(void);
> +bool __init acpi_psci_use_hvc(void);
> +#else
> +static inline int psci_acpi_init(void) { return 0; }
> +#endif

I've just realised this could result in a build failure with
CONFIG_ARM_PSCI_FW isn't selected. I've wrapped psci_dt_init in an ifdef
and tightened the checks for psci_acpi_init.

That's all pushed out to a branch [1] on kernel.org.


[1] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git psci/unification

More information about the linux-arm-kernel mailing list