Skip to content
Snippets Groups Projects
Commit 5f17ce8b authored by Tiejun Chen's avatar Tiejun Chen Committed by Alexander Graf
Browse files

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: default avatarTiejun Chen <tiejun.chen@windriver.com>
[agraf: improve patch description]
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 96f7edf9
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment