aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-09-10 08:59:24 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-10 08:59:24 -0400
commit5686f9c3d67d5a20108fa26105c98b042df13123 (patch)
treecac519fa1a6e8cdcd90787753352b8930d2cfaab /arch/sparc/include
parent2d0740c4562493b60f59ca9b0330a2d5e01d43ec (diff)
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>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/perf_counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/perf_counter.h b/arch/sparc/include/asm/perf_counter.h
index f07c587a8304..38d644546435 100644
--- a/arch/sparc/include/asm/perf_counter.h
+++ b/arch/sparc/include/asm/perf_counter.h
@@ -1,7 +1,7 @@
1#ifndef __ASM_SPARC_PERF_COUNTER_H 1#ifndef __ASM_SPARC_PERF_COUNTER_H
2#define __ASM_SPARC_PERF_COUNTER_H 2#define __ASM_SPARC_PERF_COUNTER_H
3 3
4static inline void set_perf_counter_pending(void) { } 4extern void set_perf_counter_pending(void);
5 5
6#define PERF_COUNTER_INDEX_OFFSET 0 6#define PERF_COUNTER_INDEX_OFFSET 0
7 7