diff options
Diffstat (limited to 'arch/x86_64/kernel/time.c')
-rw-r--r-- | arch/x86_64/kernel/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 1c255ee76e7c..7ea3bf2a858c 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -415,16 +415,16 @@ void main_timer_handler(struct pt_regs *regs) | |||
415 | (((long) offset << US_SCALE) / vxtime.tsc_quot) - 1; | 415 | (((long) offset << US_SCALE) / vxtime.tsc_quot) - 1; |
416 | } | 416 | } |
417 | 417 | ||
418 | if (lost > 0) { | 418 | if (lost > 0) |
419 | handle_lost_ticks(lost, regs); | 419 | handle_lost_ticks(lost, regs); |
420 | jiffies += lost; | 420 | else |
421 | } | 421 | lost = 0; |
422 | 422 | ||
423 | /* | 423 | /* |
424 | * Do the timer stuff. | 424 | * Do the timer stuff. |
425 | */ | 425 | */ |
426 | 426 | ||
427 | do_timer(regs); | 427 | do_timer(lost + 1); |
428 | #ifndef CONFIG_SMP | 428 | #ifndef CONFIG_SMP |
429 | update_process_times(user_mode(regs)); | 429 | update_process_times(user_mode(regs)); |
430 | #endif | 430 | #endif |