]> www.infradead.org Git - users/hch/misc.git/commit
KVM: arm64: Refactor kvm_reset_cptr_el2()
authorFuad Tabba <tabba@google.com>
Mon, 16 Dec 2024 10:50:53 +0000 (10:50 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:54:00 +0000 (13:54 +0000)
commit8f7df795b2da0564b22a03c4aceec90bfc5e1b1b
treee6f82dd375a9101baf6f34b58630d67aae85fa0a
parent2fd5b4b0e7b440602455b79977bfa64dea101e6c
KVM: arm64: Refactor kvm_reset_cptr_el2()

Fold kvm_get_reset_cptr_el2() into kvm_reset_cptr_el2(), since it
is its only caller. Add a comment to clarify that this function
is meant for the host value of cptr_el2.

No functional change intended.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-14-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_emulate.h