[PATCH v4 13/13] powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c

2020-02-27 Thread Christophe Leroy
ptrace_triggered() is declared in asm/hw_breakpoint.h and only needed when CONFIG_HW_BREAKPOINT is set, so move it into hw_breakpoint.c Signed-off-by: Christophe Leroy --- v4: removing inclusing of hw_breakpoint.h now. Previously it was done too early. --- arch/powerpc/kernel/hw_breakpoint.c | 1

Re: [PATCH v4 13/13] powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c

2020-02-27 Thread Christophe Leroy
Russel, Le 27/02/2020 à 12:49, Christophe Leroy a écrit : ptrace_triggered() is declared in asm/hw_breakpoint.h and only needed when CONFIG_HW_BREAKPOINT is set, so move it into hw_breakpoint.c My series v4 is definitely buggy (I included ptrace_decl.h instead instead of ptrace-decl.h), how c

Re: [PATCH v4 13/13] powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c

2020-02-27 Thread Michael Ellerman
Christophe Leroy writes: > Russel, > > Le 27/02/2020 à 12:49, Christophe Leroy a écrit : >> ptrace_triggered() is declared in asm/hw_breakpoint.h and >> only needed when CONFIG_HW_BREAKPOINT is set, so move it >> into hw_breakpoint.c > > My series v4 is definitely buggy (I included ptrace_decl.h i

Re: [PATCH v4 13/13] powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c

2020-02-27 Thread Andrew Donnellan
On 28/2/20 9:16 am, Michael Ellerman wrote: Christophe Leroy writes: Russel, Le 27/02/2020 à 12:49, Christophe Leroy a écrit : ptrace_triggered() is declared in asm/hw_breakpoint.h and only needed when CONFIG_HW_BREAKPOINT is set, so move it into hw_breakpoint.c My series v4 is definitely b

Re: [PATCH v4 13/13] powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c

2020-02-27 Thread Russell Currey
This was my fault, I should really test changes like these before they go live. Apologies for the confusion caused -- Russell Currey rus...@russell.cc On Fri, Feb 28, 2020, at 2:59 PM, Andrew Donnellan wrote: > On 28/2/20 9:16 am, Michael Ellerman wrote: > > Christophe Leroy writes: > >>