]> 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)
commit87bf5cfc1c4e5274b4901f04930ced389317e693
treeb92a569be0da7724156c12072f3bc0a9265db965
parent297759220d97c60754c3876db01a388f07f354d0
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