MIPS: KVM: Drop redundant restore of DDATA_LO
authorJames Hogan <james.hogan@imgtec.com>
Thu, 23 Jun 2016 16:34:44 +0000 (17:34 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Jul 2016 14:08:53 +0000 (16:08 +0200)
commit025014e3fb8f6afab92d3050c3423e2b1ffcbc84
tree4f6970834d5cb8272486a771623b7f60129045a4
parent38ea7a715d43752e1c53d5a0c3cbab5e321f22f7
MIPS: KVM: Drop redundant restore of DDATA_LO

On return from the exit handler to the host (without re-entering the
guest) we restore the saved value of the DDATA_LO register which we use
as a scratch register. However we've already restored it ready for
calling the exit handler so there is no need to do it again, so drop
that code.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim KrÄmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/entry.c