diff options
author | Deng-Cheng Zhu <dengcheng.zhu@imgtec.com> | 2014-06-26 15:11:38 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-30 10:52:03 -0400 |
commit | d7d5b05faf1679849c5220627c7263b4041e15ef (patch) | |
tree | 2dd48d8c3557d36c4b211f9d91fc253fde64c48b /arch/mips/kvm | |
parent | b045c40620eb51fb10b19a14f9ebc118925bc0f8 (diff) |
MIPS: KVM: Rename files to remove the prefix "kvm_" and "kvm_mips_"
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>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r-- | arch/mips/kvm/Makefile | 8 | ||||
-rw-r--r-- | arch/mips/kvm/callback.c (renamed from arch/mips/kvm/kvm_cb.c) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/commpage.c (renamed from arch/mips/kvm/kvm_mips_commpage.c) | 2 | ||||
-rw-r--r-- | arch/mips/kvm/commpage.h (renamed from arch/mips/kvm/kvm_mips_comm.h) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/dyntrans.c (renamed from arch/mips/kvm/kvm_mips_dyntrans.c) | 2 | ||||
-rw-r--r-- | arch/mips/kvm/emulate.c (renamed from arch/mips/kvm/kvm_mips_emul.c) | 6 | ||||
-rw-r--r-- | arch/mips/kvm/interrupt.c (renamed from arch/mips/kvm/kvm_mips_int.c) | 2 | ||||
-rw-r--r-- | arch/mips/kvm/interrupt.h (renamed from arch/mips/kvm/kvm_mips_int.h) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/locore.S (renamed from arch/mips/kvm/kvm_locore.S) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/mips.c (renamed from arch/mips/kvm/kvm_mips.c) | 6 | ||||
-rw-r--r-- | arch/mips/kvm/opcode.h (renamed from arch/mips/kvm/kvm_mips_opcode.h) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/stats.c (renamed from arch/mips/kvm/kvm_mips_stats.c) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/tlb.c (renamed from arch/mips/kvm/kvm_tlb.c) | 0 | ||||
-rw-r--r-- | arch/mips/kvm/trap_emul.c (renamed from arch/mips/kvm/kvm_trap_emul.c) | 4 |
14 files changed, 15 insertions, 15 deletions
diff --git a/arch/mips/kvm/Makefile b/arch/mips/kvm/Makefile index 78d87bbc99db..401fe027c261 100644 --- a/arch/mips/kvm/Makefile +++ b/arch/mips/kvm/Makefile | |||
@@ -5,9 +5,9 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) | |||
5 | 5 | ||
6 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm | 6 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm |
7 | 7 | ||
8 | kvm-objs := $(common-objs) kvm_mips.o kvm_mips_emul.o kvm_locore.o \ | 8 | kvm-objs := $(common-objs) mips.o emulate.o locore.o \ |
9 | kvm_mips_int.o kvm_mips_stats.o kvm_mips_commpage.o \ | 9 | interrupt.o stats.o commpage.o \ |
10 | kvm_mips_dyntrans.o kvm_trap_emul.o | 10 | dyntrans.o trap_emul.o |
11 | 11 | ||
12 | obj-$(CONFIG_KVM) += kvm.o | 12 | obj-$(CONFIG_KVM) += kvm.o |
13 | obj-y += kvm_cb.o kvm_tlb.o | 13 | obj-y += callback.o tlb.o |
diff --git a/arch/mips/kvm/kvm_cb.c b/arch/mips/kvm/callback.c index 313c2e37b978..313c2e37b978 100644 --- a/arch/mips/kvm/kvm_cb.c +++ b/arch/mips/kvm/callback.c | |||
diff --git a/arch/mips/kvm/kvm_mips_commpage.c b/arch/mips/kvm/commpage.c index 4b5612b34fef..61b9c043ea09 100644 --- a/arch/mips/kvm/kvm_mips_commpage.c +++ b/arch/mips/kvm/commpage.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <linux/kvm_host.h> | 23 | #include <linux/kvm_host.h> |
24 | 24 | ||
25 | #include "kvm_mips_comm.h" | 25 | #include "commpage.h" |
26 | 26 | ||
27 | void kvm_mips_commpage_init(struct kvm_vcpu *vcpu) | 27 | void kvm_mips_commpage_init(struct kvm_vcpu *vcpu) |
28 | { | 28 | { |
diff --git a/arch/mips/kvm/kvm_mips_comm.h b/arch/mips/kvm/commpage.h index 08c5fa2bbc0f..08c5fa2bbc0f 100644 --- a/arch/mips/kvm/kvm_mips_comm.h +++ b/arch/mips/kvm/commpage.h | |||
diff --git a/arch/mips/kvm/kvm_mips_dyntrans.c b/arch/mips/kvm/dyntrans.c index fa7184df5450..521121bdebff 100644 --- a/arch/mips/kvm/kvm_mips_dyntrans.c +++ b/arch/mips/kvm/dyntrans.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/bootmem.h> | 18 | #include <linux/bootmem.h> |
19 | #include <asm/cacheflush.h> | 19 | #include <asm/cacheflush.h> |
20 | 20 | ||
21 | #include "kvm_mips_comm.h" | 21 | #include "commpage.h" |
22 | 22 | ||
23 | #define SYNCI_TEMPLATE 0x041f0000 | 23 | #define SYNCI_TEMPLATE 0x041f0000 |
24 | #define SYNCI_BASE(x) (((x) >> 21) & 0x1f) | 24 | #define SYNCI_BASE(x) (((x) >> 21) & 0x1f) |
diff --git a/arch/mips/kvm/kvm_mips_emul.c b/arch/mips/kvm/emulate.c index f9b4f0fa425d..1a6068892e66 100644 --- a/arch/mips/kvm/kvm_mips_emul.c +++ b/arch/mips/kvm/emulate.c | |||
@@ -29,9 +29,9 @@ | |||
29 | #include <asm/r4kcache.h> | 29 | #include <asm/r4kcache.h> |
30 | #define CONFIG_MIPS_MT | 30 | #define CONFIG_MIPS_MT |
31 | 31 | ||
32 | #include "kvm_mips_opcode.h" | 32 | #include "opcode.h" |
33 | #include "kvm_mips_int.h" | 33 | #include "interrupt.h" |
34 | #include "kvm_mips_comm.h" | 34 | #include "commpage.h" |
35 | 35 | ||
36 | #include "trace.h" | 36 | #include "trace.h" |
37 | 37 | ||
diff --git a/arch/mips/kvm/kvm_mips_int.c b/arch/mips/kvm/interrupt.c index d458c042d558..9b4445940c2b 100644 --- a/arch/mips/kvm/kvm_mips_int.c +++ b/arch/mips/kvm/interrupt.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <linux/kvm_host.h> | 21 | #include <linux/kvm_host.h> |
22 | 22 | ||
23 | #include "kvm_mips_int.h" | 23 | #include "interrupt.h" |
24 | 24 | ||
25 | void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority) | 25 | void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority) |
26 | { | 26 | { |
diff --git a/arch/mips/kvm/kvm_mips_int.h b/arch/mips/kvm/interrupt.h index 4ab4bdfad703..4ab4bdfad703 100644 --- a/arch/mips/kvm/kvm_mips_int.h +++ b/arch/mips/kvm/interrupt.h | |||
diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/locore.S index d7279c03c517..d7279c03c517 100644 --- a/arch/mips/kvm/kvm_locore.S +++ b/arch/mips/kvm/locore.S | |||
diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/mips.c index 289b4d2ae45c..d687c6e3258d 100644 --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/mips.c | |||
@@ -21,8 +21,8 @@ | |||
21 | 21 | ||
22 | #include <linux/kvm_host.h> | 22 | #include <linux/kvm_host.h> |
23 | 23 | ||
24 | #include "kvm_mips_int.h" | 24 | #include "interrupt.h" |
25 | #include "kvm_mips_comm.h" | 25 | #include "commpage.h" |
26 | 26 | ||
27 | #define CREATE_TRACE_POINTS | 27 | #define CREATE_TRACE_POINTS |
28 | #include "trace.h" | 28 | #include "trace.h" |
@@ -1188,7 +1188,7 @@ int __init kvm_mips_init(void) | |||
1188 | /* | 1188 | /* |
1189 | * On MIPS, kernel modules are executed from "mapped space", which | 1189 | * On MIPS, kernel modules are executed from "mapped space", which |
1190 | * requires TLBs. The TLB handling code is statically linked with | 1190 | * requires TLBs. The TLB handling code is statically linked with |
1191 | * the rest of the kernel (kvm_tlb.c) to avoid the possibility of | 1191 | * the rest of the kernel (tlb.c) to avoid the possibility of |
1192 | * double faulting. The issue is that the TLB code references | 1192 | * double faulting. The issue is that the TLB code references |
1193 | * routines that are part of the the KVM module, which are only | 1193 | * routines that are part of the the KVM module, which are only |
1194 | * available once the module is loaded. | 1194 | * available once the module is loaded. |
diff --git a/arch/mips/kvm/kvm_mips_opcode.h b/arch/mips/kvm/opcode.h index 03a6ae84c7df..03a6ae84c7df 100644 --- a/arch/mips/kvm/kvm_mips_opcode.h +++ b/arch/mips/kvm/opcode.h | |||
diff --git a/arch/mips/kvm/kvm_mips_stats.c b/arch/mips/kvm/stats.c index a74d6024c5ad..a74d6024c5ad 100644 --- a/arch/mips/kvm/kvm_mips_stats.c +++ b/arch/mips/kvm/stats.c | |||
diff --git a/arch/mips/kvm/kvm_tlb.c b/arch/mips/kvm/tlb.c index bbcd82242059..bbcd82242059 100644 --- a/arch/mips/kvm/kvm_tlb.c +++ b/arch/mips/kvm/tlb.c | |||
diff --git a/arch/mips/kvm/kvm_trap_emul.c b/arch/mips/kvm/trap_emul.c index bd2f6bc64d45..fd7257b70e65 100644 --- a/arch/mips/kvm/kvm_trap_emul.c +++ b/arch/mips/kvm/trap_emul.c | |||
@@ -16,8 +16,8 @@ | |||
16 | 16 | ||
17 | #include <linux/kvm_host.h> | 17 | #include <linux/kvm_host.h> |
18 | 18 | ||
19 | #include "kvm_mips_opcode.h" | 19 | #include "opcode.h" |
20 | #include "kvm_mips_int.h" | 20 | #include "interrupt.h" |
21 | 21 | ||
22 | static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva) | 22 | static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva) |
23 | { | 23 | { |