]> 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)
commit0169ca055cecb31c95dd8902d5ff60a24d8a7c15
tree0edadccdfba7b7306cf54f99dd9aedde4722f2b9
parent491ef774aa6c1ff14b8af8d86ce36d7e32e3a691
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