kvm/x86: Remove redundant function implementations
author彭浩(Richard) <richard.peng@oppo.com>
Thu, 21 May 2020 05:57:49 +0000 (05:57 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 May 2020 17:11:10 +0000 (13:11 -0400)
commit88197e6ab33a909e54f683b5e3a2e45cc307108a
treeee4bedf94c0582c5f098a6294bfd689d53c8c360
parent80bc97f2d84dbec6df6b36d6bbc0715c14f80c61
kvm/x86: Remove redundant function implementations

pic_in_kernel(), ioapic_in_kernel() and irqchip_kernel() have the
same implementation.

Signed-off-by: Peng Hao <richard.peng@oppo.com>
Message-Id: <HKAPR02MB4291D5926EA10B8BFE9EA0D3E0B70@HKAPR02MB4291.apcprd02.prod.outlook.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq.h
arch/x86/kvm/lapic.c
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/x86.c