Commit 0b553086 authored by Yosry Ahmed's avatar Yosry Ahmed Committed by Wei Liu
Browse files

x86/hyperv: use helpers to read control registers in hv_snp_boot_ap()



Use native_read_cr*() helpers to read control registers into vmsa->cr*
instead of open-coded assembly.

No functional change intended, unless there was a purpose to specifying
rax.

Signed-off-by: default avatarYosry Ahmed <yosryahmed@google.com>
Link: https://lore.kernel.org/r/20240805201247.427982-1-yosryahmed@google.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
Message-ID: <20240805201247.427982-1-yosryahmed@google.com>
parent 87c9741a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment