diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-02-25 07:11:42 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-26 20:14:15 +0100 |
commit | 3494c16676a21e7e53e21b08a0a469a38df6dcfb (patch) | |
tree | d80452cfe2d109e10910afcf735b68d5de6ec67b /fs/jfs | |
parent | [TIME] tick-sched: Add missing asm/irq_regs.h include. (diff) | |
download | linux-3494c16676a21e7e53e21b08a0a469a38df6dcfb.tar.xz linux-3494c16676a21e7e53e21b08a0a469a38df6dcfb.zip |
[TICK] tick-common: Fix one-shot handling in tick_handle_periodic().
When clockevents_program_event() is given an expire time in the
past, it does not update dev->next_event, so this looping code
would loop forever once the first in-the-past expiration time
was used.
Keep advancing "next" locally to fix this bug.
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions