diff options
author | David Hildenbrand <david@redhat.com> | 2017-04-07 10:50:23 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-04-12 20:17:13 +0200 |
commit | 90bca0529e1bc94fd36659217603e8a1c3f9ad83 (patch) | |
tree | 041243ae001c638a756d3e5146699f54605122e3 /arch/x86/kvm/irq.c | |
parent | f567080bdd967fa09326442ac18826c0618fa6c9 (diff) | |
download | lwn-90bca0529e1bc94fd36659217603e8a1c3f9ad83.tar.gz lwn-90bca0529e1bc94fd36659217603e8a1c3f9ad83.zip |
KVM: x86: get rid of pic_irqchip()
It seemed like a nice idea to encapsulate access to kvm->arch.vpic. But
as the usage is already mixed, internal locks are taken outside of i8259.c
and grepping for "vpic" only is much easier, let's just get rid of
pic_irqchip().
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/irq.c')
-rw-r--r-- | arch/x86/kvm/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c index 60d91c9d160c..5c24811e8b0b 100644 --- a/arch/x86/kvm/irq.c +++ b/arch/x86/kvm/irq.c @@ -60,7 +60,7 @@ static int kvm_cpu_has_extint(struct kvm_vcpu *v) if (irqchip_split(v->kvm)) return pending_userspace_extint(v); else - return pic_irqchip(v->kvm)->output; + return v->kvm->arch.vpic->output; } else return 0; } |