diff options
Diffstat (limited to 'kernel/time/ntp.c')
-rw-r--r-- | kernel/time/ntp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 1fa6615b317a..2b758c935c65 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c | |||
@@ -30,9 +30,9 @@ static u64 tick_length_base; | |||
30 | 30 | ||
31 | static struct hrtimer leap_timer; | 31 | static struct hrtimer leap_timer; |
32 | 32 | ||
33 | #define MAX_TICKADJ 500 /* usecs */ | 33 | #define MAX_TICKADJ 500LL /* usecs */ |
34 | #define MAX_TICKADJ_SCALED \ | 34 | #define MAX_TICKADJ_SCALED \ |
35 | (((u64)(MAX_TICKADJ * NSEC_PER_USEC) << NTP_SCALE_SHIFT) / NTP_INTERVAL_FREQ) | 35 | (((MAX_TICKADJ * NSEC_PER_USEC) << NTP_SCALE_SHIFT) / NTP_INTERVAL_FREQ) |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * phase-lock loop variables | 38 | * phase-lock loop variables |