]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MIPS: KVM: Rename files to remove the prefix "kvm_" and "kvm_mips_"
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Thu, 26 Jun 2014 19:11:38 +0000 (12:11 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Jun 2014 14:52:03 +0000 (16:52 +0200)
Since all the files are in arch/mips/kvm/, there's no need of the prefixes
"kvm_" and "kvm_mips_".

Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
14 files changed:
arch/mips/kvm/Makefile
arch/mips/kvm/callback.c [moved from arch/mips/kvm/kvm_cb.c with 100% similarity]
arch/mips/kvm/commpage.c [moved from arch/mips/kvm/kvm_mips_commpage.c with 97% similarity]
arch/mips/kvm/commpage.h [moved from arch/mips/kvm/kvm_mips_comm.h with 100% similarity]
arch/mips/kvm/dyntrans.c [moved from arch/mips/kvm/kvm_mips_dyntrans.c with 99% similarity]
arch/mips/kvm/emulate.c [moved from arch/mips/kvm/kvm_mips_emul.c with 99% similarity]
arch/mips/kvm/interrupt.c [moved from arch/mips/kvm/kvm_mips_int.c with 99% similarity]
arch/mips/kvm/interrupt.h [moved from arch/mips/kvm/kvm_mips_int.h with 100% similarity]
arch/mips/kvm/locore.S [moved from arch/mips/kvm/kvm_locore.S with 100% similarity]
arch/mips/kvm/mips.c [moved from arch/mips/kvm/kvm_mips.c with 99% similarity]
arch/mips/kvm/opcode.h [moved from arch/mips/kvm/kvm_mips_opcode.h with 100% similarity]
arch/mips/kvm/stats.c [moved from arch/mips/kvm/kvm_mips_stats.c with 100% similarity]
arch/mips/kvm/tlb.c [moved from arch/mips/kvm/kvm_tlb.c with 100% similarity]
arch/mips/kvm/trap_emul.c [moved from arch/mips/kvm/kvm_trap_emul.c with 99% similarity]

index 78d87bbc99db747d4369f57c042e5b743443d934..401fe027c2612cf774fa53173420f93c072ea3c7 100644 (file)
@@ -5,9 +5,9 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
 
 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
 
-kvm-objs := $(common-objs) kvm_mips.o kvm_mips_emul.o kvm_locore.o \
-           kvm_mips_int.o kvm_mips_stats.o kvm_mips_commpage.o \
-           kvm_mips_dyntrans.o kvm_trap_emul.o
+kvm-objs := $(common-objs) mips.o emulate.o locore.o \
+           interrupt.o stats.o commpage.o \
+           dyntrans.o trap_emul.o
 
 obj-$(CONFIG_KVM)      += kvm.o
-obj-y                  += kvm_cb.o kvm_tlb.o
+obj-y                  += callback.o tlb.o
similarity index 97%
rename from arch/mips/kvm/kvm_mips_commpage.c
rename to arch/mips/kvm/commpage.c
index 4b5612b34fef6adb2a81974a9e54702a9cf01243..61b9c043ea09c08defd0a733c270977ef096a0d9 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <linux/kvm_host.h>
 
-#include "kvm_mips_comm.h"
+#include "commpage.h"
 
 void kvm_mips_commpage_init(struct kvm_vcpu *vcpu)
 {
similarity index 99%
rename from arch/mips/kvm/kvm_mips_dyntrans.c
rename to arch/mips/kvm/dyntrans.c
index fa7184df5450ea2005813ace6946c7558d6a4d5c..521121bdebff94a622b280544fcacddab1434b5d 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/bootmem.h>
 #include <asm/cacheflush.h>
 
-#include "kvm_mips_comm.h"
+#include "commpage.h"
 
 #define SYNCI_TEMPLATE  0x041f0000
 #define SYNCI_BASE(x)   (((x) >> 21) & 0x1f)
similarity index 99%
rename from arch/mips/kvm/kvm_mips_emul.c
rename to arch/mips/kvm/emulate.c
index f9b4f0fa425d5b5774dddc0dd702e15f6376d53f..1a6068892e66365a84d811a20716d97f4c171cee 100644 (file)
@@ -29,9 +29,9 @@
 #include <asm/r4kcache.h>
 #define CONFIG_MIPS_MT
 
-#include "kvm_mips_opcode.h"
-#include "kvm_mips_int.h"
-#include "kvm_mips_comm.h"
+#include "opcode.h"
+#include "interrupt.h"
+#include "commpage.h"
 
 #include "trace.h"
 
similarity index 99%
rename from arch/mips/kvm/kvm_mips_int.c
rename to arch/mips/kvm/interrupt.c
index d458c042d5589ff3066eb3cd37e4ed35b761ebe5..9b4445940c2bcc941b217aa3b983a4369f62f382 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <linux/kvm_host.h>
 
-#include "kvm_mips_int.h"
+#include "interrupt.h"
 
 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority)
 {
similarity index 99%
rename from arch/mips/kvm/kvm_mips.c
rename to arch/mips/kvm/mips.c
index 289b4d2ae45c75a634d85583806fb20c15017ff0..d687c6e3258d76cdbc044066b54174b40b30e343 100644 (file)
@@ -21,8 +21,8 @@
 
 #include <linux/kvm_host.h>
 
-#include "kvm_mips_int.h"
-#include "kvm_mips_comm.h"
+#include "interrupt.h"
+#include "commpage.h"
 
 #define CREATE_TRACE_POINTS
 #include "trace.h"
@@ -1188,7 +1188,7 @@ int __init kvm_mips_init(void)
        /*
         * On MIPS, kernel modules are executed from "mapped space", which
         * requires TLBs. The TLB handling code is statically linked with
-        * the rest of the kernel (kvm_tlb.c) to avoid the possibility of
+        * the rest of the kernel (tlb.c) to avoid the possibility of
         * double faulting. The issue is that the TLB code references
         * routines that are part of the the KVM module, which are only
         * available once the module is loaded.
similarity index 100%
rename from arch/mips/kvm/kvm_tlb.c
rename to arch/mips/kvm/tlb.c
similarity index 99%
rename from arch/mips/kvm/kvm_trap_emul.c
rename to arch/mips/kvm/trap_emul.c
index bd2f6bc64d454f0ebb99721c71e6b5d85cd58e84..fd7257b70e656fcb8c53d72b552f240f5b255ce6 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <linux/kvm_host.h>
 
-#include "kvm_mips_opcode.h"
-#include "kvm_mips_int.h"
+#include "opcode.h"
+#include "interrupt.h"
 
 static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva)
 {