瀏覽代碼

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>
Paul Mundt 16 年之前
父節點
當前提交
d94d4adb7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/include/asm/perf_counter.h

+ 1 - 1
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 */