[PATCH] powerpc: Fix call to flush_ptrace_hw_breakpoint()

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Feb 7 14:10:39 EST 2011

On Mon, 2011-02-07 at 08:26 +0530, K.Prasad wrote:
> On Mon, Feb 07, 2011 at 09:54:13AM +1100, Benjamin Herrenschmidt wrote:
> > A typo in the #ifdef statement makes us never call it
> > in flush_thread()
> >
> I wish it never compiled for such typos :-)
> > Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Acked-by: K.Prasad <prasad at linux.vnet.ibm.com>

Interestingly, that 'fix' now breaks the build:

cc1: warnings being treated as errors
/home/benh/linux-powerpc-test/arch/powerpc/kernel/process.c:356: error:
'set_debug_reg_defaults' defined but not used 

This file is is becoming an absolute mess of ifdef's in large part due
to the new BookE debug stuff and your HW breakpoint stuff... Any chance
you and Shaggy see if you can improve that situation a bit ?


More information about the Linuxppc-dev mailing list