From: Joerg Roedel <jroedel@xxxxxxx> Move svm.c and pmu_amd.c into their own arch/x86/kvm/svm/ subdirectory. Signed-off-by: Joerg Roedel <jroedel@xxxxxxx> --- arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/{pmu_amd.c => svm/pmu.c} | 0 arch/x86/kvm/{ => svm}/svm.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename arch/x86/kvm/{pmu_amd.c => svm/pmu.c} (100%) rename arch/x86/kvm/{ => svm}/svm.c (100%) diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile index 4654e97a05cc..c6f14e3cc5ab 100644 --- a/arch/x86/kvm/Makefile +++ b/arch/x86/kvm/Makefile @@ -14,7 +14,7 @@ kvm-y += x86.o emulate.o i8259.o irq.o lapic.o \ hyperv.o debugfs.o mmu/mmu.o mmu/page_track.o kvm-intel-y += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o vmx/nested.o -kvm-amd-y += svm.o pmu_amd.o +kvm-amd-y += svm/svm.o svm/pmu.o obj-$(CONFIG_KVM) += kvm.o obj-$(CONFIG_KVM_INTEL) += kvm-intel.o diff --git a/arch/x86/kvm/pmu_amd.c b/arch/x86/kvm/svm/pmu.c similarity index 100% rename from arch/x86/kvm/pmu_amd.c rename to arch/x86/kvm/svm/pmu.c diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm/svm.c similarity index 100% rename from arch/x86/kvm/svm.c rename to arch/x86/kvm/svm/svm.c -- 2.17.1