Merge branch 'topic/ice1724-pm' into for-linus
[pandora-kernel.git] / arch / sh / include / asm / perf_counter.h
index a8153c2..d8e6bb9 100644 (file)
@@ -2,6 +2,8 @@
 #define __ASM_SH_PERF_COUNTER_H
 
 /* SH only supports software counters through this interface. */
-#define set_perf_counter_pending()     do { } while (0)
+static inline void set_perf_counter_pending(void) {}
+
+#define PERF_COUNTER_INDEX_OFFSET      0
 
 #endif /* __ASM_SH_PERF_COUNTER_H */