From: Paul Mundt Date: Wed, 24 Jun 2009 13:35:30 +0000 (+0900) Subject: sh: make set_perf_counter_pending() static inline. X-Git-Tag: v2.6.31-rc2~17^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d94d4adb7dd05b4e25f3c317a1b932ec74272a12;p=profile%2Fivi%2Fkernel-x86-ivi.git sh: make set_perf_counter_pending() static inline. Fixes up a recently introduced build error. Reported-by: Kyle McMartin Signed-off-by: Paul Mundt --- diff --git a/arch/sh/include/asm/perf_counter.h b/arch/sh/include/asm/perf_counter.h index a8153c2..61c2b40 100644 --- a/arch/sh/include/asm/perf_counter.h +++ b/arch/sh/include/asm/perf_counter.h @@ -2,6 +2,6 @@ #define __ASM_SH_PERF_COUNTER_H /* SH only supports software counters through this interface. */ -#define set_perf_counter_pending() do { } while (0) +static inline void set_perf_counter_pending(void) {} #endif /* __ASM_SH_PERF_COUNTER_H */