arm64: KVM: Remove duplicating init code for setting VMID
authorVladimir Murzin <vladimir.murzin@arm.com>
Thu, 22 Sep 2016 08:18:01 +0000 (09:18 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 22 Sep 2016 11:30:46 +0000 (13:30 +0200)
commit6134993789b76d85102d68a286b8b82cb53b52cb
tree508bd14b382873f2ce66466190d1d0c3defb0646
parentacda5430bee4621f218391d0bcfbe4412adb3554
arm64: KVM: Remove duplicating init code for setting VMID

By now both VHE and non-VHE initialisation sequences query supported
VMID size. Lets keep only single instance of this code under
init_common_resources().

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c