OSDN Git Service

KVM: arm64: Remove unused 'pgd' field from 'struct kvm_s2_mmu'
authorWill Deacon <will@kernel.org>
Fri, 11 Sep 2020 13:25:28 +0000 (14:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Sep 2020 14:51:15 +0000 (15:51 +0100)
commit74cfa7ea66a7e54a5ea1d8ad1fb74a5e832ed867
treef9bbe2c721bd8424457f7fb9698f3cbdebfb8e79
parent3f26ab58e3272ceada11279c2e90894d4995cf79
KVM: arm64: Remove unused 'pgd' field from 'struct kvm_s2_mmu'

The stage-2 page-tables are entirely encapsulated by the 'pgt' field of
'struct kvm_s2_mmu', so remove the unused 'pgd' field.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20200911132529.19844-21-will@kernel.org
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/mmu.c