]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: tweak types of fields in kvm_lapic_irq
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Apr 2015 12:57:05 +0000 (14:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 May 2015 09:29:43 +0000 (11:29 +0200)
commitc4d214a69578cfbbcbd8028201bb31a34c4eb968
tree7f84fd0ed95a0f50bb785e20351533ef072fc1e6
parent6732863845a57d8197cb1d2254d9328b91356a20
KVM: x86: tweak types of fields in kvm_lapic_irq

Change to u16 if they only contain data in the low 16 bits.

Change the level field to bool, since we assign 1 sometimes, but
just mask icr_low with APIC_INT_ASSERT in apic_send_ipi.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c