]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: acpi: Remove __init from acpi_psci_use_hvc() for use by SDEI
authorJames Morse <james.morse@arm.com>
Mon, 8 Jan 2018 15:38:15 +0000 (15:38 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:45:23 +0000 (10:45 -0500)
commit362c36a5102c6c8463767b24929e69367c0a71a7
treebdae2e53f9f9629e1caa141f7f989d803539648d
parentf3b9e4722d69ec92b7102da0880c4b242f4397d3
arm64: acpi: Remove __init from acpi_psci_use_hvc() for use by SDEI

BugLink: http://bugs.launchpad.net/bugs/1756096
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>
(cherry picked from commit fa31ab77ced9fbab87fbac4fca3682009b7f9be2)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/kernel/acpi.c
include/linux/psci.h