summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-05-10 03:58:50 +0200
committerAlexander Graf <agraf@suse.de>2012-05-16 15:02:11 +0200
commit32c7dbfd479e73684b0d23fcb0a5cb04f19d86f4 (patch)
tree6b64efd4aed00c5954db0e7fdfef90eb67753a98 /usr
parent56e13dbae3eddb1648e6e94ae251c83cdc8304e0 (diff)
KVM: PPC: Book3S: PR: Fix hsrr code
When jumping back into the kernel to code that knows that it would be using HSRR registers instead of SRR registers, we need to make sure we pass it all information on where to jump to in HSRR registers. Unfortunately, we used r10 to store the information to distinguish between the HSRR and SRR case. That register got clobbered in between though, rendering the later comparison invalid. Instead, let's use cr1 to store this information. That way we don't need yet another register and everyone's happy. This fixes PR KVM on POWER7 bare metal for me. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions