]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/process: Add the function flush_tmregs_to_thread
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 28 Jul 2016 02:57:31 +0000 (10:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:15:15 +0000 (11:15 +1000)
commit82a40e0e6037be0f327e9e4d94b1ab326db19c3e
treeac6fb3e870b01f08c31559ee0ee77bfc4cde65dc
parente298b097c40ef3edd2f72a7b21451b14f213c680
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>
arch/powerpc/include/asm/switch_to.h
arch/powerpc/kernel/process.c