aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/traps.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-01-30 15:39:52 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2017-04-07 11:22:08 +0100
commit8f4137588261d7504f4aa022dc9d1a1fd1940e8e (patch)
treebbf139a97032e34c390335d74891fa9f381d4f0b /arch/arm64/kernel/traps.c
parentLinux 4.11-rc3 (diff)
downloadlinux-dev-8f4137588261d7504f4aa022dc9d1a1fd1940e8e.tar.xz
linux-dev-8f4137588261d7504f4aa022dc9d1a1fd1940e8e.zip
arm64: Allow checking of a CPU-local erratum
this_cpu_has_cap() only checks the feature array, and not the errata one. In order to be able to check for a CPU-local erratum, allow it to inspect the latter as well. This is consistent with cpus_have_cap()'s behaviour, which includes errata already. Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions