]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b7a3cf2c9b9fdbb78b001daa483aa835f330008
tree0edadccdfba7b7306cf54f99dd9aedde4722f2b9
parentd179b716eb1d03ec2295dbf94348384e71ac2ae1
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