]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: KVM_IRQCHIP_PIC_MASTER only has 8 pins
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:30 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000 (20:17 +0200)
commit3e9cd8db149d3538c8dcdc3a2e9836e6969349bf
tree52e0827f6dd6006e07bbec60f4cda766622cef17
parente3023beca36aaa95e199cee9b4668be190359266
KVM: x86: KVM_IRQCHIP_PIC_MASTER only has 8 pins

Currently, one could set pin 8-15, implicitly referring to
KVM_IRQCHIP_PIC_SLAVE.

Get rid of the two local variables max_pin and delta on the way.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/irq_comm.c