projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'md/4.5' of git://neil.brown.name/md
[deliverable/linux.git]
/
include
/
linux
/
sched_clock.h
diff --git
a/include/linux/sched_clock.h
b/include/linux/sched_clock.h
index efa931c5cef145e354fd290cf0794bccb7446247..411b52e424e1b2178b961bbec2081c3a0e58affd 100644
(file)
--- a/
include/linux/sched_clock.h
+++ b/
include/linux/sched_clock.h
@@
-10,11
+10,17
@@
#ifdef CONFIG_GENERIC_SCHED_CLOCK
extern void sched_clock_postinit(void);
#ifdef CONFIG_GENERIC_SCHED_CLOCK
extern void sched_clock_postinit(void);
-#else
-static inline void sched_clock_postinit(void) { }
-#endif
extern void sched_clock_register(u64 (*read)(void), int bits,
unsigned long rate);
extern void sched_clock_register(u64 (*read)(void), int bits,
unsigned long rate);
+#else
+static inline void sched_clock_postinit(void) { }
+
+static inline void sched_clock_register(u64 (*read)(void), int bits,
+ unsigned long rate)
+{
+ ;
+}
+#endif
#endif
#endif
This page took
0.063478 seconds
and
5
git commands to generate.