OSDN Git Service

KVM: arm64: pkvm: Move kvm_handle_pvm_restricted around
authorMarc Zyngier <maz@kernel.org>
Wed, 13 Oct 2021 12:03:44 +0000 (13:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Oct 2021 15:57:09 +0000 (16:57 +0100)
commit746bdeadc53b0d58fddea6442591f5ec3eeabe7d
tree815f208b68955bdbc8ddc0e278853a94115f04f8
parent3061725d162cad0589b012fc6413c9dd0da8f02a
KVM: arm64: pkvm: Move kvm_handle_pvm_restricted around

Place kvm_handle_pvm_restricted() next to its little friends such
as kvm_handle_pvm_sysreg().

This allows to make inject_undef64() static.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211013120346.2926621-10-maz@kernel.org
arch/arm64/kvm/hyp/include/nvhe/fixed_config.h
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/nvhe/sys_regs.c