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>
This commit is contained in:
Paul Mundt 2009-06-24 22:35:30 +09:00
parent 6f4b67b8ff
commit d94d4adb7d

View File

@ -2,6 +2,6 @@
#define __ASM_SH_PERF_COUNTER_H #define __ASM_SH_PERF_COUNTER_H
/* SH only supports software counters through this interface. */ /* 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 */ #endif /* __ASM_SH_PERF_COUNTER_H */