update_vsyscall() did not provide the wall_to_monotoinc offset, so arch specific implementations tend to reference wall_to_monotonic directly. This limits future cleanups in the timekeeping core, so this patch fixes the update_vsyscall interface to provide wall_to_monotonic, allowing wall_to_monotonic to be made static as planned in Documentation/feature-removal-schedule.txt
Showing the changes to include/linux/clocksource.h (1 of 6 files). Show all
Unified · Split
| @@ -313,11 +313,13 @@ clocksource_calc_mult_shift(struct clocksource *cs, u32 freq, u32 minsec) · 312 unmodified lines | ||
| 313 | 313 | |
| 314 | 314 | #ifdef CONFIG_GENERIC_TIME_VSYSCALL |
| 315 | 315 | extern void |
| 316 | −update_vsyscall(struct timespec *ts, struct clocksource *c, u32 mult); | |
| 316 | +update_vsyscall(struct timespec *ts, struct timespec *wtm, | |
| 317 | + struct clocksource *c, u32 mult); | |
| 317 | 318 | extern void update_vsyscall_tz(void); |
| 318 | 319 | #else |
| 319 | 320 | static inline void |
| 320 | −update_vsyscall(struct timespec *ts, struct clocksource *c, u32 mult) | |
| 321 | +update_vsyscall(struct timespec *ts, struct timespec *wtm, | |
| 322 | + struct clocksource *c, u32 mult) | |
| 321 | 323 | { |
| 322 | 324 | } |
| 323 | 325 | |