summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/perf_counter.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-08 09:24:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-08 09:24:01 -0700
commit622f8061a68d3f7a576c20a47b7f3bae7c8cfbef (patch)
treeb9fa9f4d92d80eaae27f5a6f6cb2ff8b5d007024 /arch/sh/include/asm/perf_counter.h
parent6c96895e999f5c44a95a5cad6a6e32e7bd6e28b6 (diff)
parentdd4da3a55f99efbfd46674ebefdcc2878a57ef2a (diff)
Merge branch 'sh/for-2.6.31' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh/for-2.6.31' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: serial: sh-sci: fix sci interrupt handler video: hitfb: Move over to dev_pm_ops. video: hitfb: Convert to framebuffer_alloc(). video: sh_mobile_lcdcfb: Convert to framebuffer_alloc(). sh: add r8a66597 usb0 host to the se7724 board usb: allow sh7724 to enable on-chip r8a66597 sh-sci: update receive error handling for muxed irqs sh: define PERF_COUNTER_INDEX_OFFSET.
Diffstat (limited to 'arch/sh/include/asm/perf_counter.h')
-rw-r--r--arch/sh/include/asm/perf_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/perf_counter.h b/arch/sh/include/asm/perf_counter.h
index 61c2b40c802c..d8e6bb9c0ccc 100644
--- a/arch/sh/include/asm/perf_counter.h
+++ b/arch/sh/include/asm/perf_counter.h
@@ -4,4 +4,6 @@
/* 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 */