[PATCH] powerpc: Implement logging of unhandled signals

Stephen Rothwell sfr at canb.auug.org.au
Tue Oct 2 09:41:30 EST 2007


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?

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071002/d48562cc/attachment.pgp>


More information about the Linuxppc-dev mailing list