diff options
author | Bharat Bhushan <Bharat.Bhushan@freescale.com> | 2013-01-15 17:24:39 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-02-13 06:56:40 -0500 |
commit | 1d542d9c2bbca9b99835fef6a938b9ae9dd7ca2a (patch) | |
tree | b5bc9857625feb811cce562f45ec3cf259739395 /arch/powerpc/kvm/booke.h | |
parent | ffe129ecd79779221fdb03305049ec8b5a8beb0f (diff) |
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>
Diffstat (limited to 'arch/powerpc/kvm/booke.h')
-rw-r--r-- | arch/powerpc/kvm/booke.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.h b/arch/powerpc/kvm/booke.h index e9b88e433f64..5fd1ba693579 100644 --- a/arch/powerpc/kvm/booke.h +++ b/arch/powerpc/kvm/booke.h | |||
@@ -65,6 +65,7 @@ | |||
65 | (1 << BOOKE_IRQPRIO_CRITICAL)) | 65 | (1 << BOOKE_IRQPRIO_CRITICAL)) |
66 | 66 | ||
67 | extern unsigned long kvmppc_booke_handlers; | 67 | extern unsigned long kvmppc_booke_handlers; |
68 | extern unsigned long kvmppc_booke_handler_addr[]; | ||
68 | 69 | ||
69 | void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr); | 70 | void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr); |
70 | void kvmppc_mmu_msr_notify(struct kvm_vcpu *vcpu, u32 old_msr); | 71 | void kvmppc_mmu_msr_notify(struct kvm_vcpu *vcpu, u32 old_msr); |