summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-09-11 16:17:42 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-10-02 17:53:39 +0300
commit136bccbc2e78d3cd0bd8831e4c5a4509c0ddd945 (patch)
tree5877e448b6c6d956081ecc64316f3b04f27c6e3e /include/linux/workqueue.h
parent48c3c65f64b01164f1704b40b38f60837d484f13 (diff)
downloadlinux-136bccbc2e78d3cd0bd8831e4c5a4509c0ddd945.tar.xz
ntp: Read reference time only once
The reference time is required twice in ntp_update_offset(). It will not change in the meantime as the calling code holds the timekeeper lock. Read it only once and store it into a local variable. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: John Stultz <jstultz@google.com> Link: https://lore.kernel.org/all/20240911-devel-anna-maria-b4-timers-ptp-ntp-v1-6-2d52f4e13476@linutronix.de
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions