summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
author彭浩(Richard) <richard.peng@oppo.com>2020-05-21 05:57:49 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-27 13:11:10 -0400
commit88197e6ab33a909e54f683b5e3a2e45cc307108a (patch)
treeee4bedf94c0582c5f098a6294bfd689d53c8c360 /arch/x86/kvm/lapic.c
parent80bc97f2d84dbec6df6b36d6bbc0715c14f80c61 (diff)
downloadlwn-88197e6ab33a909e54f683b5e3a2e45cc307108a.tar.gz
lwn-88197e6ab33a909e54f683b5e3a2e45cc307108a.zip
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>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 2a3b57401a68..34a7e0533dad 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -36,6 +36,7 @@
#include <linux/jump_label.h>
#include "kvm_cache_regs.h"
#include "irq.h"
+#include "ioapic.h"
#include "trace.h"
#include "x86.h"
#include "cpuid.h"