summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/perf_counter.h')
-rw-r--r--arch/sh/include/asm/perf_counter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/include/asm/perf_counter.h b/arch/sh/include/asm/perf_counter.h
new file mode 100644
index 000000000000..d8e6bb9c0ccc
--- /dev/null
+++ b/arch/sh/include/asm/perf_counter.h
@@ -0,0 +1,9 @@
+#ifndef __ASM_SH_PERF_COUNTER_H
+#define __ASM_SH_PERF_COUNTER_H
+
+/* 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 */