|
@@ -1045,7 +1045,7 @@ static cycle_t logarithmic_accumulation(struct timekeeper *tk, cycle_t offset,
|
|
|
accumulate_nsecs_to_secs(tk);
|
|
|
|
|
|
/* Accumulate raw time */
|
|
|
- raw_nsecs = tk->raw_interval << shift;
|
|
|
+ raw_nsecs = (u64)tk->raw_interval << shift;
|
|
|
raw_nsecs += tk->raw_time.tv_nsec;
|
|
|
if (raw_nsecs >= NSEC_PER_SEC) {
|
|
|
u64 raw_secs = raw_nsecs;
|