projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f4b67b
)
sh: make set_perf_counter_pending() static inline.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 24 Jun 2009 13:35:30 +0000
(22:35 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 24 Jun 2009 13:35:30 +0000
(22:35 +0900)
Fixes up a recently introduced build error.
Reported-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/perf_counter.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/perf_counter.h
b/arch/sh/include/asm/perf_counter.h
index a8153c2aa6faf20db8fd1ef661218536d046362c..61c2b40c802cfa134975c80e1d62dab5e089456a 100644
(file)
--- 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 */