arm64: KVM: Move the AArch32 conditional execution to common code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Sep 2016 08:28:42 +0000 (09:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 8 Sep 2016 10:53:00 +0000 (12:53 +0200)
commit427d7cacf97220844aa39146e11365655bbff8bd
tree32d792680ca258164fafb79189cd505832076a3f
parent3e51d43516b99a5ede461381b4d031998f8dbdf3
arm64: KVM: Move the AArch32 conditional execution to common code

It would make some sense to share the conditional execution code
between 32 and 64bit. In order to achieve this, let's move that
code to virt/kvm/arm/aarch32.c. While we're at it, drop a
superfluous BUG_ON() that wasn't that useful.

Following patches will migrate the 32bit port to that code base.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/emulate.c
arch/arm64/kvm/Makefile
virt/kvm/arm/aarch32.c [moved from arch/arm64/kvm/emulate.c with 97% similarity]