diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-01-30 15:39:52 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-07 11:22:08 +0100 |
commit | 8f4137588261d7504f4aa022dc9d1a1fd1940e8e (patch) | |
tree | bbf139a97032e34c390335d74891fa9f381d4f0b /arch/arm64/kernel/traps.c | |
parent | Linux 4.11-rc3 (diff) | |
download | linux-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