KVM: arm64: Descope kvm_arm_sys_reg_{get,set}_reg()
authorMarc Zyngier <maz@kernel.org>
Mon, 4 Jul 2022 17:25:41 +0000 (18:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commitc5332898dc35bbed7d3aa02b491e3388315ee481
tree0edadccdfba7b7306cf54f99dd9aedde4722f2b9
parentf6dddbb25572218d2e8ab93bfdad20cddeb99b5a
KVM: arm64: Descope kvm_arm_sys_reg_{get,set}_reg()

Having kvm_arm_sys_reg_get_reg and co in kvm_host.h gives the
impression that these functions are free to be called from
anywhere.

Not quite. They really are tied to out internal sysreg handling,
and they would be better off in the sys_regs.h header, which is
private. kvm_host.h could also get a bit of a diet, so let's
just do that.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/sys_regs.h