]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchpoint: Introduce is_ptrace_bp() function
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Thu, 14 May 2020 11:17:36 +0000 (16:47 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:11:05 +0000 (00:11 +1000)
commit98f385cc053323acef2e9a18deaa2c587765cf7e
treeb92a569be0da7724156c12072f3bc0a9265db965
parentd5529d37daec8a856e29d76a2933c550e12b89f9
powerpc/watchpoint: Introduce is_ptrace_bp() function

Introduce is_ptrace_bp() function and move the check inside the
function. It will be utilize more in later set of patches.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Michael Neuling <mikey@neuling.org>
Link: https://lore.kernel.org/r/20200514111741.97993-12-ravi.bangoria@linux.ibm.com
arch/powerpc/kernel/hw_breakpoint.c