sparc64: Fix NMI programming when perf events are active.
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 23:37:04 +0000 (15:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 23:37:04 +0000 (15:37 -0800)
commit8183e2b38480672a1f61d416812ac078ce94b67b
tree27fa1dcb4ffbdfa459b8b1ebc9ae291e86c5fc4c
parent5958eed76ccc8c361f872829bdc4b8c6dc9cd379
sparc64: Fix NMI programming when perf events are active.

If perf events are active, we should not reset the %pcr to
PCR_PIC_PRIV.  That perf events code does the management.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/nmi.c