summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2016-06-22 14:21:59 +1000
committerBen Hutchings <ben@decadent.org.uk>2016-08-22 22:38:28 +0100
commitb16e5c4a51094b5fbf6e2543f8d1c260429c946d (patch)
tree2c24c01d8cb56f7e878ca9faa0b1358f690c7066 /include/linux/string.h
parent5343d1779fd944a3937dafc56f3e853a5e063a3d (diff)
KVM: PPC: Book3S HV: Pull out TM state save/restore into separate procedures
commit f024ee098476a3e620232e4a78cfac505f121245 upstream. This moves the transactional memory state save and restore sequences out of the guest entry/exit paths into separate procedures. This is so that these sequences can be used in going into and out of nap in a subsequent patch. The only code changes here are (a) saving and restore LR on the stack, since these new procedures get called with a bl instruction, (b) explicitly saving r1 into the PACA instead of assuming that HSTATE_HOST_R1(r13) is already set, and (c) removing an unnecessary and redundant setting of MSR[TM] that should have been removed by commit 9d4d0bdd9e0a ("KVM: PPC: Book3S HV: Add transactional memory support", 2013-09-24) but wasn't. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> [bwh: Backported to 3.16: include dots in subroutine names] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions