sh: define PERF_COUNTER_INDEX_OFFSET.

Previous thread: sh: add r8a66597 usb0 host to the se7724 board by Linux Kernel Mailing List on Wednesday, July 8, 2009 - 9:59 am. (1 message)

Next thread: video: sh_mobile_lcdcfb: Convert to framebuffer_alloc(). by Linux Kernel Mailing List on Wednesday, July 8, 2009 - 9:59 am. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, July 8, 2009 - 9:59 am

Gitweb:     http://git.kernel.org/linus/47220f623c3216ca276bad517ed208ea2ffceaa2
Commit:     47220f623c3216ca276bad517ed208ea2ffceaa2
Parent:     7c5371c403abb29f01bc6cff6c5096abdf2dc524
Author:     Paul Mundt <lethal@linux-sh.org>
AuthorDate: Fri Jul 3 13:08:28 2009 +0900
Committer:  Paul Mundt <lethal@linux-sh.org>
CommitDate: Fri Jul 3 13:08:28 2009 +0900

    sh: define PERF_COUNTER_INDEX_OFFSET.
    
    Fixes up recent build breakage.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/include/asm/perf_counter.h |    2 ++
 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 61c2b40..d8e6bb9 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 */
--

Previous thread: sh: add r8a66597 usb0 host to the se7724 board by Linux Kernel Mailing List on Wednesday, July 8, 2009 - 9:59 am. (1 message)

Next thread: video: sh_mobile_lcdcfb: Convert to framebuffer_alloc(). by Linux Kernel Mailing List on Wednesday, July 8, 2009 - 9:59 am. (1 message)