aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/perf_counter.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-24 22:35:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-24 22:35:30 +0900
commitd94d4adb7dd05b4e25f3c317a1b932ec74272a12 (patch)
tree8fa049f1d608f6bf79e092e3376039dfcd88903f /arch/sh/include/asm/perf_counter.h
parent6f4b67b8ff707147e14ee71045ab25aa286520f2 (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/include/asm/perf_counter.h')
-rw-r--r--arch/sh/include/asm/perf_counter.h2
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 a8153c2aa6f..61c2b40c802 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 */