summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/tm.h
Commit message (Collapse)AuthorAgeFilesLines
* powerpc/tm: Move TM abort cause codes to uapiMichael Neuling2013-06-011-0/+2
| | | | | | | | These cause codes are usable by userspace, so let's export to uapi. Signed-off-by: Michael Neuling <mikey@neuling.org> Cc: <stable@vger.kernel.org> # v3.9 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* powerpc: Add helper functions for transactional memory context switchingMichael Neuling2013-02-151-0/+20
Here we add the helper functions to be used when context switching. These allow us to fully reclaim and recheckpoint a transaction. We introduce a new paca field called tm_scratch to help us store away register values when doing the low level tm reclaim register save. Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud