commit | b181048f414668933c524fe077b9aa6e8e9a42b4 | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Tue Sep 15 22:42:07 2020 +0100 |
committer | Will Deacon <will@kernel.org> | Tue Sep 29 16:08:15 2020 +0100 |
tree | d8855634c7af41322616305cbe0a31484d06255b | |
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>