linux-stable/arch/powerpc/kernel/ptrace
Ravi Bangoria e68ef121c1 powerpc/watchpoint: Use builtin ALIGN*() macros
Currently we calculate hw aligned start and end addresses manually.
Replace them with builtin ALIGN_DOWN() and ALIGN() macros.

So far end_addr was inclusive but this patch makes it exclusive (by
avoiding -1) for better readability.

Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr>
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-13-ravi.bangoria@linux.ibm.com
2020-05-19 00:11:05 +10:00
..
Makefile powerpc/64: make buildable without CONFIG_COMPAT 2020-04-03 00:10:00 +11:00
ptrace-adv.c powerpc/ptrace: create ppc_gethwdinfo() 2020-04-01 14:30:49 +11:00
ptrace-altivec.c powerpc/ptrace: split out ALTIVEC related functions. 2020-04-01 14:30:48 +11:00
ptrace-decl.h powerpc/ptrace: create ppc_gethwdinfo() 2020-04-01 14:30:49 +11:00
ptrace-noadv.c powerpc/watchpoint: Use builtin ALIGN*() macros 2020-05-19 00:11:05 +10:00
ptrace-novsx.c powerpc/ptrace: split out VSX related functions. 2020-04-01 14:30:48 +11:00
ptrace-spe.c powerpc/ptrace: split out SPE related functions. 2020-04-01 14:30:48 +11:00
ptrace-tm.c powerpc: Use set_trap() and avoid open-coding trap masking 2020-05-15 11:58:54 +10:00
ptrace-view.c powerpc: Use set_trap() and avoid open-coding trap masking 2020-05-15 11:58:54 +10:00
ptrace-vsx.c powerpc/ptrace: split out VSX related functions. 2020-04-01 14:30:48 +11:00
ptrace.c powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c 2020-04-01 14:30:49 +11:00
ptrace32.c powerpc/watchpoint: Convert thread_struct->hw_brk to an array 2020-05-19 00:11:05 +10:00