public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: KVM: remove the stale memory alias support function unalias_gfn
@ 2014-05-29 19:12 Deng-Cheng Zhu
  2014-05-29 19:38 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Deng-Cheng Zhu @ 2014-05-29 19:12 UTC (permalink / raw)
  To: pbonzini; +Cc: gleb, kvm, sanjayl, james.hogan, ralf, linux-mips, dengcheng.zhu

From: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>

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>
---
 arch/mips/kvm/kvm_mips.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c
index da5186f..a0d1e71 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
  */
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: KVM: remove the stale memory alias support function unalias_gfn
  2014-05-29 19:12 [PATCH] MIPS: KVM: remove the stale memory alias support function unalias_gfn Deng-Cheng Zhu
@ 2014-05-29 19:38 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2014-05-29 19:38 UTC (permalink / raw)
  To: Deng-Cheng Zhu; +Cc: gleb, kvm, sanjayl, james.hogan, ralf, linux-mips

Il 29/05/2014 21:12, Deng-Cheng Zhu ha scritto:
> kvm_mips.c | 5 -----
>  1 file changed

Applied, thanks.

paolo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-29 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 19:12 [PATCH] MIPS: KVM: remove the stale memory alias support function unalias_gfn Deng-Cheng Zhu
2014-05-29 19:38 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox