KVM: PPC: bookehv: Fix r8/r13 storing in level exception handler
authorMihai Caraman <mihai.caraman@freescale.com>
Mon, 16 Apr 2012 04:08:53 +0000 (04:08 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 6 May 2012 14:19:11 +0000 (16:19 +0200)
commit4444aa5f78eff73a353c8c4784cda2de74dea54b
treeb86dd0c1a431432b4b215e686cd0d70368ca3330
parent3b1d9d7d95e7c62518160edebd92450b58c6d55f
KVM: PPC: bookehv: Fix r8/r13 storing in level exception handler

Guest r8 register is held in the scratch register and stored correctly,
so remove the instruction that clobbers it. Guest r13 was missing from vcpu,
store it there.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/bookehv_interrupts.S