aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPaul Mackerras <[email protected]>2012-02-03 00:53:21 +0000
committerPaul Mackerras <[email protected]>2012-04-03 16:42:30 +1000
commita5ddea0e78e76aa8d6354b9b0e51e652e21b8137 (patch)
tree2cd3177d94017cbc2e3cc03186eed8ae281dd86f /net/lapb/lapb_timer.c
parentb4e51229d8a1e499fe65153766437152cca42053 (diff)
KVM: PPC: Book3S HV: Save and restore CR in __kvmppc_vcore_entry
The ABI specifies that CR fields CR2--CR4 are nonvolatile across function calls. Currently __kvmppc_vcore_entry doesn't save and restore the CR, leading to CR2--CR4 getting corrupted with guest values, possibly leading to incorrect behaviour in its caller. This adds instructions to save and restore CR at the points where we save and restore the nonvolatile GPRs. Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions