sparc64: Implement a real set_perf_counter_pending().
commit5686f9c3d67d5a20108fa26105c98b042df13123
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2009 12:59:24 +0000 (10 05:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2009 12:59:24 +0000 (10 05:59 -0700)
treecac519fa1a6e8cdcd90787753352b8930d2cfaab
parent2d0740c4562493b60f59ca9b0330a2d5e01d43ec
sparc64: Implement a real set_perf_counter_pending().

When the perf counter subsystem needs to reschedule work out
from an NMI, it invokes set_perf_counter_pending().

This triggers a non-NMI irq which should invoke
perf_counter_do_pending().

Currently this won't trigger because sparc64 won't trigger
the perf counter subsystem from NMIs, but when the HW counter
support is added it will.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/perf_counter.h
arch/sparc/kernel/pcr.c