]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/time/timekeeping.c
drivers/pps: aesthetic tweaks to PPS-related content
[linux.git] / kernel / time / timekeeping.c
index 7e7e61c00d6145bb3de767e103f00552e3d4e362..2cafb49aa65e13b5b1d29223e8943d53386a795d 100644 (file)
@@ -2064,7 +2064,7 @@ void update_wall_time(void)
                goto out;
 
        /* Do some additional sanity checking */
-       timekeeping_check_update(real_tk, offset);
+       timekeeping_check_update(tk, offset);
 
        /*
         * With NO_HZ we may have to accumulate many cycle_intervals
@@ -2316,7 +2316,7 @@ void hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts)
        raw_spin_unlock_irqrestore(&timekeeper_lock, flags);
 }
 EXPORT_SYMBOL(hardpps);
-#endif
+#endif /* CONFIG_NTP_PPS */
 
 /**
  * xtime_update() - advances the timekeeping infrastructure