commit | 30124906db8598255fba32c8bf0adb7e8f1503ab | [log] [tgz] |
---|---|---|
author | Varun Sethi <Varun.Sethi@freescale.com> | Wed Apr 25 01:27:34 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Sun May 06 16:19:09 2012 +0200 |
tree | 5a59fb02e1129c5614ec608739dd1a758db5a091 | |
parent | 3d4c6826ed2a28e69e8ee14f1d58c4c8622f04b3 [diff] |
KVM: PPC: booke(hv): Fix save/restore of guest accessible SPRGs. For Guest accessible SPRGs 4-7, save/restore must be handled differently for 64bit and non-64 bit case. Use the PPC_STD/PPC_LD macros for saving/restoring to/from these registers. Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>