KVM: Remove unnecessary asm/kvm_host.h includes

Remove includes of asm/kvm_host.h from files that already include
linux/kvm_host.h to make it more obvious that there is no ordering issue
between the two headers.  linux/kvm_host.h includes asm/kvm_host.h to
pick up architecture specific settings, and this will never change, i.e.
including asm/kvm_host.h after linux/kvm_host.h may seem problematic,
but in practice is simply redundant.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Peter Xu 2020-02-28 13:30:20 -05:00 committed by Paolo Bonzini
parent 23581ea8ce
commit 4d39576259
15 changed files with 0 additions and 15 deletions

View File

@ -10,7 +10,6 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <asm/kvm_arm.h> #include <asm/kvm_arm.h>
#include <asm/kvm_host.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_coproc.h> #include <asm/kvm_coproc.h>
#include <asm/kvm_mmu.h> #include <asm/kvm_mmu.h>

View File

@ -11,7 +11,6 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include <asm/fpsimd.h> #include <asm/fpsimd.h>
#include <asm/kvm_asm.h> #include <asm/kvm_asm.h>
#include <asm/kvm_host.h>
#include <asm/kvm_mmu.h> #include <asm/kvm_mmu.h>
#include <asm/sysreg.h> #include <asm/sysreg.h>

View File

@ -25,7 +25,6 @@
#include <asm/kvm.h> #include <asm/kvm.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_coproc.h> #include <asm/kvm_coproc.h>
#include <asm/kvm_host.h>
#include <asm/sigcontext.h> #include <asm/sigcontext.h>
#include "trace.h" #include "trace.h"

View File

@ -17,7 +17,6 @@
#include <asm/kprobes.h> #include <asm/kprobes.h>
#include <asm/kvm_asm.h> #include <asm/kvm_asm.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_host.h>
#include <asm/kvm_hyp.h> #include <asm/kvm_hyp.h>
#include <asm/kvm_mmu.h> #include <asm/kvm_mmu.h>
#include <asm/fpsimd.h> #include <asm/fpsimd.h>

View File

@ -22,7 +22,6 @@
#include <asm/kvm_arm.h> #include <asm/kvm_arm.h>
#include <asm/kvm_coproc.h> #include <asm/kvm_coproc.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_host.h>
#include <asm/kvm_hyp.h> #include <asm/kvm_hyp.h>
#include <asm/kvm_mmu.h> #include <asm/kvm_mmu.h>
#include <asm/perf_event.h> #include <asm/perf_event.h>

View File

@ -12,7 +12,6 @@
#include <asm/cputype.h> #include <asm/cputype.h>
#include <asm/kvm_arm.h> #include <asm/kvm_arm.h>
#include <asm/kvm_asm.h> #include <asm/kvm_asm.h>
#include <asm/kvm_host.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_coproc.h> #include <asm/kvm_coproc.h>
#include <asm/sysreg.h> #include <asm/sysreg.h>

View File

@ -27,7 +27,6 @@
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/synch.h> #include <asm/synch.h>
#include <asm/ppc-opcode.h> #include <asm/ppc-opcode.h>
#include <asm/kvm_host.h>
#include <asm/udbg.h> #include <asm/udbg.h>
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/tce.h> #include <asm/tce.h>

View File

@ -24,7 +24,6 @@
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/synch.h> #include <asm/synch.h>
#include <asm/ppc-opcode.h> #include <asm/ppc-opcode.h>
#include <asm/kvm_host.h>
#include <asm/udbg.h> #include <asm/udbg.h>
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/tce.h> #include <asm/tce.h>

View File

@ -72,7 +72,6 @@
#include <asm/xics.h> #include <asm/xics.h>
#include <asm/xive.h> #include <asm/xive.h>
#include <asm/hw_breakpoint.h> #include <asm/hw_breakpoint.h>
#include <asm/kvm_host.h>
#include <asm/kvm_book3s_uvmem.h> #include <asm/kvm_book3s_uvmem.h>
#include <asm/ultravisor.h> #include <asm/ultravisor.h>

View File

@ -32,7 +32,6 @@
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <asm/mpic.h> #include <asm/mpic.h>
#include <asm/kvm_para.h> #include <asm/kvm_para.h>
#include <asm/kvm_host.h>
#include <asm/kvm_ppc.h> #include <asm/kvm_ppc.h>
#include <kvm/iodev.h> #include <kvm/iodev.h>

View File

@ -32,7 +32,6 @@
#include <asm/plpar_wrappers.h> #include <asm/plpar_wrappers.h>
#endif #endif
#include <asm/ultravisor.h> #include <asm/ultravisor.h>
#include <asm/kvm_host.h>
#include "timing.h" #include "timing.h"
#include "irq.h" #include "irq.h"

View File

@ -10,7 +10,6 @@
#define __POWERPC_KVM_EXITTIMING_H__ #define __POWERPC_KVM_EXITTIMING_H__
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include <asm/kvm_host.h>
#ifdef CONFIG_KVM_EXIT_TIMING #ifdef CONFIG_KVM_EXIT_TIMING
void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu); void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu);

View File

@ -12,7 +12,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <asm/kvm_host.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/sysinfo.h> #include <asm/sysinfo.h>

View File

@ -14,7 +14,6 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include <linux/rculist.h> #include <linux/rculist.h>
#include <asm/kvm_host.h>
#include <asm/kvm_page_track.h> #include <asm/kvm_page_track.h>
#include "mmu.h" #include "mmu.h"

View File

@ -12,7 +12,6 @@
#include <asm/cputype.h> #include <asm/cputype.h>
#include <asm/kvm_emulate.h> #include <asm/kvm_emulate.h>
#include <asm/kvm_host.h>
#include <kvm/arm_psci.h> #include <kvm/arm_psci.h>
#include <kvm/arm_hypercalls.h> #include <kvm/arm_hypercalls.h>