[PATCH 2/6] hw_breakpoints: Migrate breakpoint conditional build under new config
K.Prasad
prasad at linux.vnet.ibm.com
Mon Jul 4 23:27:46 EST 2011
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 <fweisbec at gmail.com>
> Acked-by: Will Deacon <will.deacon at arm.com>
> Cc: Ingo Molnar <mingo at elte.hu>
> Cc: Peter Zijlstra <a.p.zijlstra at chello.nl>
> Cc: Prasad <prasad at linux.vnet.ibm.com>
> Cc: Paul Mundt <lethal at linux-sh.org>
> ---
> 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 <prasad at linux.vnet.ibm.com>
Thanks,
K.Prasad
More information about the Linuxppc-dev
mailing list