Re: [PATCH 2/6] hw_breakpoints: Migrate breakpoint conditional build under new config
From: K.Prasad <hidden>
Date: 2011-07-04 13:28:06
Also in:
lkml
On Tue, May 24, 2011 at 11:52:23PM +0200, Frederic Weisbecker wrote:
Migrate conditional hw_breakpoint code compilation under the new config to prepare for letting the user chose whether or not to build this feature Signed-off-by: Frederic Weisbecker <redacted> Acked-by: Will Deacon <redacted> Cc: Ingo Molnar <redacted> Cc: Peter Zijlstra <redacted> Cc: Prasad <redacted> Cc: Paul Mundt <redacted> --- arch/arm/include/asm/hw_breakpoint.h | 4 ++-- arch/arm/include/asm/processor.h | 2 +- arch/arm/kernel/Makefile | 2 +- arch/arm/kernel/entry-header.S | 2 +- arch/arm/kernel/ptrace.c | 4 ++-- arch/powerpc/include/asm/cputable.h | 4 ++-- arch/powerpc/include/asm/hw_breakpoint.h | 6 +++--- arch/powerpc/include/asm/processor.h | 4 ++-- arch/powerpc/kernel/Makefile | 2 +- arch/powerpc/kernel/process.c | 18 +++++++++--------- arch/powerpc/kernel/ptrace.c | 13 +++++++------ arch/powerpc/lib/Makefile | 2 +- arch/sh/kernel/Makefile | 2 +- arch/sh/kernel/cpu/sh4a/Makefile | 2 +- include/linux/hw_breakpoint.h | 6 +++--- include/linux/perf_event.h | 4 ++-- include/linux/ptrace.h | 6 +++--- include/linux/sched.h | 2 +- kernel/events/Makefile | 2 +- kernel/events/core.c | 4 ++-- kernel/ptrace.c | 4 ++-- samples/Kconfig | 2 +- 22 files changed, 49 insertions(+), 48 deletions(-)
Making the hardware breakpoint patches modular has always been a goal. I've looked at the PowerPC parts of the code and they look harmless. Acked-by: K.Prasad <redacted> Thanks, K.Prasad