summaryrefslogtreecommitdiff
path: root/arch/powerpc/math-emu/fsqrts.c
diff options
context:
space:
mode:
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>2020-05-14 16:47:35 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-19 00:11:05 +1000
commit6b424efa119d5ea06b15ff240dddc3b4b9f9cdfb (patch)
tree4ea2eb0294720b9913b767cabe2f93b498f26e9d /arch/powerpc/math-emu/fsqrts.c
parent303e6a9ddcdc168e92253c78cdb4bbe1e10d78b3 (diff)
powerpc/watchpoint: Use loop for thread_struct->ptrace_bps
ptrace_bps is already an array of size HBP_NUM_MAX. But we use hardcoded index 0 while fetching/updating it. Convert such code to loop over array. ptrace interface to use multiple watchpoint remains same. eg: two PPC_PTRACE_SETHWDEBUG calls will create two watchpoint if underneath hw supports it. 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-11-ravi.bangoria@linux.ibm.com
Diffstat (limited to 'arch/powerpc/math-emu/fsqrts.c')
0 files changed, 0 insertions, 0 deletions