sh: define PERF_COUNTER_INDEX_OFFSET.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 3 Jul 2009 04:08:28 +0000 (13:08 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 3 Jul 2009 04:08:28 +0000 (13:08 +0900)
Fixes up recent build breakage.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/perf_counter.h

index 61c2b40..d8e6bb9 100644 (file)
@@ -4,4 +4,6 @@
 /* SH only supports software counters through this interface. */
 static inline void set_perf_counter_pending(void) {}
 
+#define PERF_COUNTER_INDEX_OFFSET      0
+
 #endif /* __ASM_SH_PERF_COUNTER_H */