[alsa-devel][PATCH] Signed-off-by: lsh <410860423@xxxxxx>
From: lsh
Date: Sat Jul 20 2019 - 02:18:10 EST
From: lsh <410860423@xxxxxx>
Modification of leap seconds from 58 59 59 00 to 58 59 00 00
---
kernel/time/ntp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index 65eb796..7edae41 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -425,7 +425,6 @@ int second_overflow(time64_t secs)
ntp_next_leap_sec = TIME64_MAX;
time_state = TIME_OK;
} else if (secs == ntp_next_leap_sec) {
- leap = -1;
time_state = TIME_OOP;
printk(KERN_NOTICE
"Clock: inserting leap second 23:59:60 UTC\n");
@@ -444,6 +443,7 @@ int second_overflow(time64_t secs)
}
break;
case TIME_OOP:
+ leap = -1;
ntp_next_leap_sec = TIME64_MAX;
time_state = TIME_WAIT;
break;
--
2.7.4