aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-14 09:59:00 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-14 09:59:30 -0400
commit4cd1993f0046fbc765dbf20af90966f5661e3789 (patch)
tree8772c03b73159524183f08337b134503ddf8479e /kernel/timer.c
parent97fd9ed48ce2b807edc363bef3e817aeeb5cd5e6 (diff)
parent64f1607ffbbc772685733ea63e6f7f4183df1b16 (diff)
Merge branch 'linus' into timers/core
Reason: Martin's timekeeping cleanup series depends on both timers/core and mainline changes. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 5c1e49ec2f1b..33fc9d175f40 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -721,7 +721,7 @@ int mod_timer(struct timer_list *timer, unsigned long expires)
721 * networking code - if the timer is re-modified 721 * networking code - if the timer is re-modified
722 * to be the same thing then just return: 722 * to be the same thing then just return:
723 */ 723 */
724 if (timer->expires == expires && timer_pending(timer)) 724 if (timer_pending(timer) && timer->expires == expires)
725 return 1; 725 return 1;
726 726
727 return __mod_timer(timer, expires, false, TIMER_NOT_PINNED); 727 return __mod_timer(timer, expires, false, TIMER_NOT_PINNED);