浏览代码

sh: define PERF_COUNTER_INDEX_OFFSET.

Fixes up recent build breakage.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 年之前
父节点
当前提交
47220f623c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/sh/include/asm/perf_counter.h

+ 2 - 0
arch/sh/include/asm/perf_counter.h

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