]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/sched_clock.h
lz4: fix wrong compress buffer size for 64-bits
[karo-tx-linux.git] / include / linux / sched_clock.h
index efa931c5cef145e354fd290cf0794bccb7446247..411b52e424e1b2178b961bbec2081c3a0e58affd 100644 (file)
 
 #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);
+#else
+static inline void sched_clock_postinit(void) { }
+
+static inline void sched_clock_register(u64 (*read)(void), int bits,
+                                       unsigned long rate)
+{
+       ;
+}
+#endif
 
 #endif