Re: [PATCH v6 1/7] Powerpc/Watchpoint: Introduce macros for watchpoint length

2019-11-14 Thread Michael Ellerman
On Thu, 2019-10-17 at 09:31:58 UTC, Ravi Bangoria wrote: > We are hadrcoding length everywhere in the watchpoint code. > Introduce macros for the length and use them. > > Signed-off-by: Ravi Bangoria Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/b811be615cb78c90fca42b

[PATCH v6 1/7] Powerpc/Watchpoint: Introduce macros for watchpoint length

2019-10-17 Thread Ravi Bangoria
We are hadrcoding length everywhere in the watchpoint code. Introduce macros for the length and use them. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/hw_breakpoint.h | 3 +++ arch/powerpc/kernel/hw_breakpoint.c | 4 ++-- arch/powerpc/kernel/ptrace.c | 6 +++--- arc