diff options
author | Ravi Bangoria <ravi.bangoria@linux.ibm.com> | 2020-05-14 14:17:33 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-18 17:11:05 +0300 |
commit | 22a214e461c5cc9428b86915d9cfcf84c6e11ad7 (patch) | |
tree | ab63263b79b6a731d18053245cc339e4ac42375e /arch/powerpc/boot | |
parent | c2919132734f29a7a33e1339bef8a67b11f322eb (diff) | |
download | linux-22a214e461c5cc9428b86915d9cfcf84c6e11ad7.tar.xz |
powerpc/watchpoint: Disable all available watchpoints when !dawr_force_enable
Instead of disabling only first watchpoint, disable all available
watchpoints while clearing dawr_force_enable.
Callback function is used only for disabling watchpoint, rename it
to disable_dawrs_cb(). And null_brk parameter is not really required
while disabling watchpoint, remove 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-9-ravi.bangoria@linux.ibm.com
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions