]> 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)
commit9a17b7772511f709008d0190a3e7299b4b29419a
treeac6fb3e870b01f08c31559ee0ee77bfc4cde65dc
parentc032c4dbd8b7235139c4a824046b1d60989a63f5
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