From: Paul Mundt <lethal@linux-sh.org> Date: Fri, 3 Jul 2009 04:08:28 +0000 (+0900) Subject: sh: define PERF_COUNTER_INDEX_OFFSET. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47220f623c3216ca276bad517ed208ea2ffceaa2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sh: define PERF_COUNTER_INDEX_OFFSET. Fixes up recent build breakage. Signed-off-by: Paul Mundt <lethal@linux-sh.org> --- 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 */