diff options
author | Will Deacon <will@kernel.org> | 2020-09-15 22:42:07 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-29 16:08:15 +0100 |
commit | b181048f414668933c524fe077b9aa6e8e9a42b4 (patch) | |
tree | d8855634c7af41322616305cbe0a31484d06255b /arch/alpha | |
parent | 5359a87d5bdacb0c27f282f40ccbd80ce8f9702a (diff) |
KVM: arm64: Simplify install_bp_hardening_cb()
Use is_hyp_mode_available() to detect whether or not we need to patch
the KVM vectors for branch hardening, which avoids the need to take the
vector pointers as parameters.
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions