diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 22:35:30 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 22:35:30 +0900 |
commit | d94d4adb7dd05b4e25f3c317a1b932ec74272a12 (patch) | |
tree | 8fa049f1d608f6bf79e092e3376039dfcd88903f /arch/sh | |
parent | 6f4b67b8ff707147e14ee71045ab25aa286520f2 (diff) |
sh: make set_perf_counter_pending() static inline.
Fixes up a recently introduced build error.
Reported-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/perf_counter.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |