sparc64: Fix NMI programming when perf events are active.
commit9d6567c5369d439440ad96e8b402919d4480e2c6
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 23:37:04 +0000 (4 15:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Jan 2010 23:18:31 +0000 (22 15:18 -0800)
treeebc16405517e0d7adc2234750a6b019604215690
parent896fb0d2fb2f6ba691eeac7fc6fde604629d0b59
sparc64: Fix NMI programming when perf events are active.

[ Upstream commit 8183e2b38480672a1f61d416812ac078ce94b67b ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/kernel/nmi.c