]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchpoint: Introduce macros for watchpoint length
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Thu, 17 Oct 2019 09:31:58 +0000 (15:01 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:02 +0000 (16:58 +1100)
commit3a5efcd368695e85aa518a0dc8670b0aa2e9b5f8
tree7f3619f689d6823344b7363f5994461d689168f2
parentd7bf1ecc93cd6f6919fbb13cd91404d7e00bf186
powerpc/watchpoint: Introduce macros for watchpoint length

We are hadrcoding length everywhere in the watchpoint code. Introduce
macros for the length and use them.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191017093204.7511-2-ravi.bangoria@linux.ibm.com
arch/powerpc/include/asm/hw_breakpoint.h
arch/powerpc/kernel/hw_breakpoint.c
arch/powerpc/kernel/ptrace.c
arch/powerpc/xmon/xmon.c