[PATCH] powerpc: Implement logging of unhandled signals

Olof Johansson olof at lixom.net
Tue Oct 2 10:27:24 EST 2007


On Tue, Oct 02, 2007 at 09:41:30AM +1000, Stephen Rothwell wrote:
> Hi Olof,
> 
> On Mon, 1 Oct 2007 15:32:42 -0500 Olof Johansson <olof at lixom.net> wrote:
> >
> > +	char fmt32[] = KERN_INFO "%s[%d]: unhandled signal %d " \
> > +			"at %08lx nip %08lx lr %08lx code %x\n";
> > +	char fmt64[] = KERN_INFO "%s[%d]: unhandled signal %d " \
> > +			"at %016lx nip %016lx lr %016lx code %x\n";
> 
> const char ... ?
> 
> > +static char fmt32[] = KERN_INFO \
> > +	"%s[%d]: bad frame in %s: %08lx nip %08lx lr %08lx\n";
> > +static char fmt64[] = KERN_INFO \
> > +	"%s[%d]: bad frame in %s: %016lx nip %016lx lr %016lx\n";
> 
> again?

Yeah, sure.


Thanks,

-Olof



More information about the Linuxppc-dev mailing list