commit | 8d460f6156cd55d981d109f01b82cbea8cf80e57 | [log] [tgz] |
---|---|---|
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | Thu Jul 28 10:57:31 2016 +0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Aug 01 11:15:15 2016 +1000 |
tree | ac6fb3e870b01f08c31559ee0ee77bfc4cde65dc | |
parent | 0dc696bcf2e86f48a23fb95ca2f40c8708241e7e [diff] |
powerpc/process: Add the function flush_tmregs_to_thread This patch creates a function flush_tmregs_to_thread which will then be used by subsequent patches in this series. The function checks for self tracing ptrace interface attempts while in the TM context and logs appropriate warning message. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>