File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1706,21 +1706,19 @@ static int collect_expired_timers(struct timer_base *base,
1706
1706
* the next expiring timer.
1707
1707
*/
1708
1708
if ((long )(now - base -> clk ) > 2 ) {
1709
- unsigned long next = __next_timer_interrupt (base );
1710
-
1711
1709
/*
1712
1710
* If the next timer is ahead of time forward to current
1713
1711
* jiffies, otherwise forward to the next expiry time:
1714
1712
*/
1715
- if (time_after (next , now )) {
1713
+ if (time_after (base -> next_expiry , now )) {
1716
1714
/*
1717
1715
* The call site will increment base->clk and then
1718
1716
* terminate the expiry loop immediately.
1719
1717
*/
1720
1718
base -> clk = now ;
1721
1719
return 0 ;
1722
1720
}
1723
- base -> clk = next ;
1721
+ base -> clk = base -> next_expiry ;
1724
1722
}
1725
1723
return __collect_expired_timers (base , heads );
1726
1724
}
You can’t perform that action at this time.
0 commit comments