[PULL 06/12] KVM: PPC: Book3S: PR: Don't clobber our exit handler id

2013-12-18 Thread Alexander Graf
We call a C helper to save all svcpu fields into our vcpu. The C ABI states that r12 is considered volatile. However, we keep our exit handler id in r12 currently. So we need to save it away into a non-volatile register instead that definitely does get preserved across the C call. This bug

[PULL 06/12] KVM: PPC: Book3S: PR: Don't clobber our exit handler id

2013-12-18 Thread Alexander Graf
We call a C helper to save all svcpu fields into our vcpu. The C ABI states that r12 is considered volatile. However, we keep our exit handler id in r12 currently. So we need to save it away into a non-volatile register instead that definitely does get preserved across the C call. This bug