]> 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)
commit9a336ad1f31c575f868969f8697a33a639ed4e5f
tree7ab5656d9d5842e8e4799d0f99d656d3807d6a57
parent67c0589dfd59be7f91300e7aa28ea222da412022
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