]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/clocksource.h
timkeeping: Fix update_vsyscall to provide wall_to_monotonic offset
[karo-tx-linux.git] / include / linux / clocksource.h
index 5ea3c60c160c2df2d6e0010a33d9c8e01281b1f9..21677d99a161c321cfad89bd96a76a3e34b40fc7 100644 (file)
@@ -313,11 +313,13 @@ clocksource_calc_mult_shift(struct clocksource *cs, u32 freq, u32 minsec)
 
 #ifdef CONFIG_GENERIC_TIME_VSYSCALL
 extern void
-update_vsyscall(struct timespec *ts, struct clocksource *c, u32 mult);
+update_vsyscall(struct timespec *ts, struct timespec *wtm,
+                       struct clocksource *c, u32 mult);
 extern void update_vsyscall_tz(void);
 #else
 static inline void
-update_vsyscall(struct timespec *ts, struct clocksource *c, u32 mult)
+update_vsyscall(struct timespec *ts, struct timespec *wtm,
+                       struct clocksource *c, u32 mult)
 {
 }