Skip to content

Commit

Permalink
sh: make set_perf_counter_pending() static inline.
Browse files Browse the repository at this point in the history
Fixes up a recently introduced build error.

Reported-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jun 24, 2009
1 parent 6f4b67b commit d94d4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/include/asm/perf_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit d94d4ad

Please sign in to comment.