summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2018-01-08 15:38:15 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2018-01-14 18:49:49 +0000
commitfa31ab77ced9fbab87fbac4fca3682009b7f9be2 (patch)
tree142cb8f42a6d13946909650ffbe812784e3e6415 /arch/arm64/kernel
parentf92b5462a2f22d13a75dc663f7b2fac16a3e61cb (diff)
downloadlinux-fa31ab77ced9fbab87fbac4fca3682009b7f9be2.tar.gz
linux-fa31ab77ced9fbab87fbac4fca3682009b7f9be2.tar.bz2
linux-fa31ab77ced9fbab87fbac4fca3682009b7f9be2.zip
arm64: acpi: Remove __init from acpi_psci_use_hvc() for use by SDEI
SDEI inherits the 'use hvc' bit that is also used by PSCI. PSCI does all its initialisation early, SDEI does its late. Remove the __init annotation from acpi_psci_use_hvc(). Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: James Morse <james.morse@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
index b3162715ed78..252396a96c78 100644
--- a/arch/arm64/kernel/acpi.c
+++ b/arch/arm64/kernel/acpi.c
@@ -117,7 +117,7 @@ bool __init acpi_psci_present(void)
}
/* Whether HVC must be used instead of SMC as the PSCI conduit */
-bool __init acpi_psci_use_hvc(void)
+bool acpi_psci_use_hvc(void)
{
return acpi_gbl_FADT.arm_boot_flags & ACPI_FADT_PSCI_USE_HVC;
}