From: David S. Miller Date: Sun, 25 Feb 2007 06:11:42 +0000 (-0800) Subject: [TICK] tick-common: Fix one-shot handling in tick_handle_periodic(). X-Git-Tag: v2.6.21-rc2~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3494c16676a21e7e53e21b08a0a469a38df6dcfb;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed