diff options
| author | Anna-Maria Behnsen <[email protected]> | 2024-10-09 10:28:56 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-10-25 19:49:13 +0200 |
| commit | 9fe7d9a984f2309ceb9f53bc89eb4885994e5052 (patch) | |
| tree | 87f1eba70a97bd9e63cc3e33fd2adb720c8b2b47 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 886150fb4f19505b8f9d26201d7671b25c233a9f (diff) | |
timekeeping: Avoid duplicate leap state update
do_adjtimex() invokes tk_update_leap_state() unconditionally even when a
previous invocation of timekeeping_update() already did that update.
Put it into the else path which is invoked when timekeeping_update() is not
called.
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: John Stultz <[email protected]>
Link: https://lore.kernel.org/all/20241009-devel-anna-maria-b4-timers-ptp-timekeeping-v2-3-554456a44a15@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions