KVM: x86: move kvm_set_irq_inatomic to legacy device assignment
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Oct 2015 17:52:02 +0000 (18:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Nov 2015 15:24:36 +0000 (16:24 +0100)
commit8a22f234a81ab4d1de5d948c3478608f08a9b844
treeba10ea82eef7a5d94a9cc96cfa2ea6decb1cc654
parent7695405698d011c05a95288f1f3c0a3dd252dccc
KVM: x86: move kvm_set_irq_inatomic to legacy device assignment

The function is not used outside device assignment, and
kvm_arch_set_irq_inatomic has a different prototype.  Move it here and
make it static to avoid confusion.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/assigned-dev.c
arch/x86/kvm/irq_comm.c
include/linux/kvm_host.h