Commit d7d5b05f authored by Deng-Cheng Zhu's avatar Deng-Cheng Zhu Committed by Paolo Bonzini

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: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b045c406
...@@ -5,9 +5,9 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) ...@@ -5,9 +5,9 @@ common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
kvm-objs := $(common-objs) kvm_mips.o kvm_mips_emul.o kvm_locore.o \ kvm-objs := $(common-objs) mips.o emulate.o locore.o \
kvm_mips_int.o kvm_mips_stats.o kvm_mips_commpage.o \ interrupt.o stats.o commpage.o \
kvm_mips_dyntrans.o kvm_trap_emul.o dyntrans.o trap_emul.o
obj-$(CONFIG_KVM) += kvm.o obj-$(CONFIG_KVM) += kvm.o
obj-y += kvm_cb.o kvm_tlb.o obj-y += callback.o tlb.o
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include "kvm_mips_comm.h" #include "commpage.h"
void kvm_mips_commpage_init(struct kvm_vcpu *vcpu) void kvm_mips_commpage_init(struct kvm_vcpu *vcpu)
{ {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include "kvm_mips_comm.h" #include "commpage.h"
#define SYNCI_TEMPLATE 0x041f0000 #define SYNCI_TEMPLATE 0x041f0000
#define SYNCI_BASE(x) (((x) >> 21) & 0x1f) #define SYNCI_BASE(x) (((x) >> 21) & 0x1f)
......
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
#include <asm/r4kcache.h> #include <asm/r4kcache.h>
#define CONFIG_MIPS_MT #define CONFIG_MIPS_MT
#include "kvm_mips_opcode.h" #include "opcode.h"
#include "kvm_mips_int.h" #include "interrupt.h"
#include "kvm_mips_comm.h" #include "commpage.h"
#include "trace.h" #include "trace.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/kvm_host.h> #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) void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority)
{ {
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include "kvm_mips_int.h" #include "interrupt.h"
#include "kvm_mips_comm.h" #include "commpage.h"
#define CREATE_TRACE_POINTS #define CREATE_TRACE_POINTS
#include "trace.h" #include "trace.h"
...@@ -1188,7 +1188,7 @@ int __init kvm_mips_init(void) ...@@ -1188,7 +1188,7 @@ int __init kvm_mips_init(void)
/* /*
* On MIPS, kernel modules are executed from "mapped space", which * On MIPS, kernel modules are executed from "mapped space", which
* requires TLBs. The TLB handling code is statically linked with * 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 * double faulting. The issue is that the TLB code references
* routines that are part of the the KVM module, which are only * routines that are part of the the KVM module, which are only
* available once the module is loaded. * available once the module is loaded.
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
#include "kvm_mips_opcode.h" #include "opcode.h"
#include "kvm_mips_int.h" #include "interrupt.h"
static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva) static gpa_t kvm_trap_emul_gva_to_gpa_cb(gva_t gva)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment