aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/cpu_errata.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-09-18 14:11:25 +0100
committerWill Deacon <will@kernel.org>2020-09-29 16:08:17 +0100
commit31c84d6c9cde673b3866972552ec52e4c522b4fa (patch)
treeddc0e581bf96c1c173aba1ae982ff2cd7916d1cd /arch/arm64/kernel/cpu_errata.c
parentKVM: arm64: Convert ARCH_WORKAROUND_2 to arm64_get_spectre_v4_state() (diff)
downloadlinux-dev-31c84d6c9cde673b3866972552ec52e4c522b4fa.tar.xz
linux-dev-31c84d6c9cde673b3866972552ec52e4c522b4fa.zip
arm64: Get rid of arm64_ssbd_state
Out with the old ghost, in with the new... Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/cpu_errata.c')
-rw-r--r--arch/arm64/kernel/cpu_errata.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
index 7e9caef13db4..6c8303559beb 100644
--- a/arch/arm64/kernel/cpu_errata.c
+++ b/arch/arm64/kernel/cpu_errata.c
@@ -106,8 +106,6 @@ cpu_enable_trap_ctr_access(const struct arm64_cpu_capabilities *cap)
sysreg_clear_set(sctlr_el1, SCTLR_EL1_UCT, 0);
}
-int ssbd_state __read_mostly = ARM64_SSBD_UNKNOWN;
-
#ifdef CONFIG_ARM64_ERRATUM_1463225
DEFINE_PER_CPU(int, __in_cortex_a76_erratum_1463225_wa);