]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
timekeeping: Remove system_device_crosststamp::sys_realtime
authorThomas Gleixner <tglx@kernel.org>
Fri, 29 May 2026 20:01:17 +0000 (22:01 +0200)
committerThomas Gleixner <tglx@kernel.org>
Thu, 4 Jun 2026 09:04:17 +0000 (11:04 +0200)
All users are converted to sys_systime.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: David Woodhouse <dwmw@amazon.co.uk>
Tested-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260529195558.046694580@kernel.org
include/linux/timekeeping.h

index 017599d04eb4311ef0f4f10aa99ef41819c7af55..7f03e1cefcf68221ce3e27df79a85ebb6dde5a08 100644 (file)
@@ -318,7 +318,6 @@ struct system_counterval_t {
  * @clock_id:          System time Clock ID to capture
  * @device:            Device time
  * @sys_counter:       Clocksource counter value simultaneous with device time
- * @sys_realtime:      Realtime simultaneous with device time
  * @sys_systime:       System time for @clock_id
  * @sys_monoraw:       Monotonic raw simultaneous with device time
  */
@@ -326,11 +325,7 @@ struct system_device_crosststamp {
        clockid_t                       clock_id;
        ktime_t                         device;
        struct system_counterval_t      sys_counter;
-       union {
-               /* realtime goes away once all users are converted */
-               ktime_t                 sys_realtime;
-               ktime_t                 sys_systime;
-       };
+       ktime_t                         sys_systime;
        ktime_t                         sys_monoraw;
 };