OSDN Git Service

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)
commitc9e82aeb197df2d93b1b4234bc0c80943fa594e8
treeb92a569be0da7724156c12072f3bc0a9265db965
parent6b424efa119d5ea06b15ff240dddc3b4b9f9cdfb
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