aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-07-03 00:08:28 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-07-03 00:08:28 -0400
commit47220f623c3216ca276bad517ed208ea2ffceaa2 (patch)
tree52531e918ec19198e38bf29ce885560dcea61cd4 /arch/sh
parent7c5371c403abb29f01bc6cff6c5096abdf2dc524 (diff)
sh: define PERF_COUNTER_INDEX_OFFSET.
Fixes up recent build breakage. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/include/asm/perf_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/perf_counter.h b/arch/sh/include/asm/perf_counter.h
index 61c2b40c802c..d8e6bb9c0ccc 100644
--- a/arch/sh/include/asm/perf_counter.h
+++ b/arch/sh/include/asm/perf_counter.h
@@ -4,4 +4,6 @@
4/* SH only supports software counters through this interface. */ 4/* SH only supports software counters through this interface. */
5static inline void set_perf_counter_pending(void) {} 5static inline void set_perf_counter_pending(void) {}
6 6
7#define PERF_COUNTER_INDEX_OFFSET 0
8
7#endif /* __ASM_SH_PERF_COUNTER_H */ 9#endif /* __ASM_SH_PERF_COUNTER_H */