summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/booke.c
diff options
context:
space:
mode:
authorTiejun Chen2013-05-13 04:00:45 +0200
committerAlexander Graf2013-06-30 03:33:21 +0200
commit5f17ce8b954a2ff93f0460a2ae35d56285697d0f (patch)
treec01a31bbe3cba4f3fa66936ee368ba5d35709082 /arch/powerpc/kvm/booke.c
parentMerge git://git.linaro.org/people/cdall/linux-kvm-arm.git tags/kvm-arm-3.11 i... (diff)
downloadkernel-qcow2-linux-5f17ce8b954a2ff93f0460a2ae35d56285697d0f.tar.gz
kernel-qcow2-linux-5f17ce8b954a2ff93f0460a2ae35d56285697d0f.tar.xz
kernel-qcow2-linux-5f17ce8b954a2ff93f0460a2ae35d56285697d0f.zip
KVM: PPC: Guard doorbell exception with CONFIG_PPC_DOORBELL
Availablity of the doorbell_exception function is guarded by CONFIG_PPC_DOORBELL. Use the same define to guard our caller of it. Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> [agraf: improve patch description] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r--arch/powerpc/kvm/booke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index 1020119226db..62d4ece03bcd 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -795,7 +795,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
kvmppc_fill_pt_regs(&regs);
timer_interrupt(&regs);
break;
-#if defined(CONFIG_PPC_FSL_BOOK3E) || defined(CONFIG_PPC_BOOK3E_64)
+#if defined(CONFIG_PPC_DOORBELL)
case BOOKE_INTERRUPT_DOORBELL:
kvmppc_fill_pt_regs(&regs);
doorbell_exception(&regs);