|
@@ -1560,8 +1560,11 @@ static int collect_expired_timers(struct timer_base *base,
|
|
* jiffies, otherwise forward to the next expiry time:
|
|
* jiffies, otherwise forward to the next expiry time:
|
|
*/
|
|
*/
|
|
if (time_after(next, jiffies)) {
|
|
if (time_after(next, jiffies)) {
|
|
- /* The call site will increment clock! */
|
|
|
|
- base->clk = jiffies - 1;
|
|
|
|
|
|
+ /*
|
|
|
|
+ * The call site will increment base->clk and then
|
|
|
|
+ * terminate the expiry loop immediately.
|
|
|
|
+ */
|
|
|
|
+ base->clk = jiffies;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
base->clk = next;
|
|
base->clk = next;
|