From: Paul Mundt Date: Wed, 24 Jun 2009 13:35:30 +0000 (+0900) Subject: sh: make set_perf_counter_pending() static inline. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d94d4adb7dd05b4e25f3c317a1b932ec74272a12;p=deliverable%2Flinux.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 a8153c2aa6fa..61c2b40c802c 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 */