KVM: PPC: booke: Allow multiple exception types
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Tue, 15 Jan 2013 22:24:39 +0000 (22:24 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2013 11:56:40 +0000 (12:56 +0100)
commit1d542d9c2bbca9b99835fef6a938b9ae9dd7ca2a
treeb5bc9857625feb811cce562f45ec3cf259739395
parentffe129ecd79779221fdb03305049ec8b5a8beb0f
KVM: PPC: booke: Allow multiple exception types

Current kvmppc_booke_handlers uses the same macro (KVM_HANDLER) and
all handlers are considered to be the same size. This will not be
the case if we want to use different macros for different handlers.

This patch improves the kvmppc_booke_handler so that it can
support different macros for different handlers.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
[bharat.bhushan@freescale.com: Substantial changes]
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke.h
arch/powerpc/kvm/booke_interrupts.S
arch/powerpc/kvm/e500.c