diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 17fb1b9807d040e8a17be546fc849852fcaac17f..6e039b144daf0359ecaffcbc00227a7233fd0dd3 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -289,7 +289,7 @@ static inline s64 ntp_update_offset_fll(s64 offset64, long secs) time_status |= STA_MODE; - return div_s64(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); + return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); } static void ntp_update_offset(long offset)