diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-12-16 16:10:02 +0100 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-01-09 14:42:47 +0100 |
commit | 49776faf93f8074bb4990beac04781a9507d3650 (patch) | |
tree | 6a045c43997415ab5d5ff1fa8338908d7a83cc8c /arch/x86/kvm/i8259.c | |
parent | 35e6eaa3df55822d0cb1df3bf08e6cb816737131 (diff) | |
download | linux-49776faf93f8074bb4990beac04781a9507d3650.tar.gz |
KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()
irqchip_in_kernel() tried to save a bit by reusing pic_irqchip(), but it
just complicated the code.
Add a separate state for the irqchip mode.
Reviewed-by: David Hildenbrand <david@redhat.com>
[Used Paolo's version of condition in irqchip_in_kernel().]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8259.c')
0 files changed, 0 insertions, 0 deletions