Release 4.14 arch/powerpc/kvm/irq.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __IRQ_H
#define __IRQ_H
#include <linux/kvm_host.h>
static inline int irqchip_in_kernel(struct kvm *kvm)
{
int ret = 0;
#ifdef CONFIG_KVM_MPIC
ret = ret || (kvm->arch.mpic != NULL);
#endif
#ifdef CONFIG_KVM_XICS
ret = ret || (kvm->arch.xics != NULL);
ret = ret || (kvm->arch.xive != NULL);
#endif
smp_rmb();
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Alexander Graf | 42 | 56.00% | 1 | 33.33% |
Paul Mackerras | 19 | 25.33% | 1 | 33.33% |
Benjamin Herrenschmidt | 14 | 18.67% | 1 | 33.33% |
Total | 75 | 100.00% | 3 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Alexander Graf | 53 | 60.92% | 1 | 25.00% |
Paul Mackerras | 19 | 21.84% | 1 | 25.00% |
Benjamin Herrenschmidt | 14 | 16.09% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 1.15% | 1 | 25.00% |
Total | 87 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.