Skip to content
Commit b181048f authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will@kernel.org>
parent 5359a87d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment