]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: KVM/locore.S: Only preserve callee saved registers
authorJames Hogan <james.hogan@imgtec.com>
Fri, 6 May 2016 13:36:21 +0000 (14:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:19 +0000 (14:02 +0200)
commit8a35471021fa0cd706c21c647a4225d6886087f5
tree7ab5656d9d5842e8e4799d0f99d656d3807d6a57
parentfd74f809909e3c7a493e8237513262a845d3ab9a
MIPS: KVM/locore.S: Only preserve callee saved registers

Update __kvm_mips_vcpu_run() to only save and restore callee saved
registers. It is always called using the standard ABIs, so the caller
will preserve any other registers that need preserving.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13208/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kvm/locore.S