summaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm/kvm_mips.c
diff options
context:
space:
mode:
authorDeng-Cheng Zhu <dengcheng.zhu@imgtec.com>2014-05-29 12:12:22 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-29 21:38:21 +0200
commit356d4c2040539a6c7ff75723b9503bb8ddc9cb07 (patch)
tree45b2876a47125f4bdbce810e985db60a526bdd55 /arch/mips/kvm/kvm_mips.c
parentd6d7a95c1bdba370e2249efdecfab712c10cfc9b (diff)
downloadlinux-356d4c2040539a6c7ff75723b9503bb8ddc9cb07.tar.gz
linux-356d4c2040539a6c7ff75723b9503bb8ddc9cb07.tar.bz2
linux-356d4c2040539a6c7ff75723b9503bb8ddc9cb07.zip
MIPS: KVM: remove the stale memory alias support function unalias_gfn
The memory alias support has been removed since a1f4d39500 (KVM: Remove memory alias support). So remove unalias_gfn from the MIPS port. 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/kvm_mips.c')
-rw-r--r--arch/mips/kvm/kvm_mips.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c
index da5186fbd77a..a0d1e7105c4e 100644
--- a/arch/mips/kvm/kvm_mips.c
+++ b/arch/mips/kvm/kvm_mips.c
@@ -61,11 +61,6 @@ static int kvm_mips_reset_vcpu(struct kvm_vcpu *vcpu)
return 0;
}
-gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn)
-{
- return gfn;
-}
-
/* XXXKYMA: We are simulatoring a processor that has the WII bit set in Config7, so we
* are "runnable" if interrupts are pending
*/