summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kvm/irq.h')
-rw-r--r--arch/powerpc/kvm/irq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/irq.h b/arch/powerpc/kvm/irq.h
index f1e27fdc8c2e..5a9a10b90762 100644
--- a/arch/powerpc/kvm/irq.h
+++ b/arch/powerpc/kvm/irq.h
@@ -10,6 +10,9 @@ static inline int irqchip_in_kernel(struct kvm *kvm)
#ifdef CONFIG_KVM_MPIC
ret = ret || (kvm->arch.mpic != NULL);
#endif
+#ifdef CONFIG_KVM_XICS
+ ret = ret || (kvm->arch.xics != NULL);
+#endif
smp_rmb();
return ret;
}