aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-17 16:34:45 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-17 16:34:45 +0900
commit9c93e596979021b159736a1273987c3e52d809e0 (patch)
treea20c2f65f339c70b51d633ee04f93c02a690dcdc /arch/sh/include
parentsh: Use generic atomic64_t implementation. (diff)
downloadlinux-dev-9c93e596979021b159736a1273987c3e52d809e0.tar.xz
linux-dev-9c93e596979021b159736a1273987c3e52d809e0.zip
sh: Generic HAVE_PERF_COUNTER support.
This enables support for the generic software-based perf counters. Hardware counter support could be added in the future, but the lack of a performance counter IRQ makes this rather dubious. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/perf_counter.h7
1 files changed, 7 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..a8153c2aa6fa
--- /dev/null
+++ b/arch/sh/include/asm/perf_counter.h
@@ -0,0 +1,7 @@
+#ifndef __ASM_SH_PERF_COUNTER_H
+#define __ASM_SH_PERF_COUNTER_H
+
+/* SH only supports software counters through this interface. */
+#define set_perf_counter_pending() do { } while (0)
+
+#endif /* __ASM_SH_PERF_COUNTER_H */