sparc64: Make %pil level 15 a pseudo-NMI.
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 05:55:29 +0000 (21:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:02 +0000 (09:17 -0800)
commitb4f4372f96e0573d752d9e45beda02fabf716cc8
tree641798dfe78c1407908c68b64427cd55cdc18b34
parentc6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d
sparc64: Make %pil level 15 a pseudo-NMI.

So that we can profile code even in a local_irq_disable() section,
only write 14 (instead of 15) into the %pil register to disable IRQs.

This allows PIL level 15 to serve as a pseudo NMI.

Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
arch/sparc/include/asm/irqflags_64.h
arch/sparc/include/asm/pil.h
arch/sparc/include/asm/ttable.h
arch/sparc/mm/ultra.S
arch/sparc64/kernel/cherrs.S
arch/sparc64/kernel/head.S
arch/sparc64/kernel/hvtramp.S
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/spiterrs.S
arch/sparc64/kernel/sun4v_ivec.S
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/ttable.S