]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2953b18ef90a06e7d18f4664cf795332b36d303
treeb5bc9857625feb811cce562f45ec3cf259739395
parentcdfba66b7a7a2dc69c27e92b2e93a96e17621cc0
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