aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/spiterrs.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-24 00:55:29 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-04 12:17:02 -0500
commitb4f4372f96e0573d752d9e45beda02fabf716cc8 (patch)
tree641798dfe78c1407908c68b64427cd55cdc18b34 /arch/sparc64/kernel/spiterrs.S
parentc6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d (diff)
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>
Diffstat (limited to 'arch/sparc64/kernel/spiterrs.S')
-rw-r--r--arch/sparc64/kernel/spiterrs.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/spiterrs.S b/arch/sparc64/kernel/spiterrs.S
index ef902c6f8e3c..c357e40ffd01 100644
--- a/arch/sparc64/kernel/spiterrs.S
+++ b/arch/sparc64/kernel/spiterrs.S
@@ -80,7 +80,7 @@ __spitfire_cee_trap_continue:
80 cmp %g2, 1 80 cmp %g2, 1
81 rdpr %pil, %g2 81 rdpr %pil, %g2
82 bleu,pt %xcc, 1f 82 bleu,pt %xcc, 1f
83 wrpr %g0, 15, %pil 83 wrpr %g0, PIL_NORMAL_MAX, %pil
84 84
85 ba,pt %xcc, etraptl1 85 ba,pt %xcc, etraptl1
86 rd %pc, %g7 86 rd %pc, %g7