aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/perf_event.h')
-rw-r--r--arch/sh/include/asm/perf_event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/include/asm/perf_event.h b/arch/sh/include/asm/perf_event.h
new file mode 100644
index 000000000000..11a302297ab7
--- /dev/null
+++ b/arch/sh/include/asm/perf_event.h
@@ -0,0 +1,9 @@
1#ifndef __ASM_SH_PERF_EVENT_H
2#define __ASM_SH_PERF_EVENT_H
3
4/* SH only supports software events through this interface. */
5static inline void set_perf_event_pending(void) {}
6
7#define PERF_EVENT_INDEX_OFFSET 0
8
9#endif /* __ASM_SH_PERF_EVENT_H */