]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel/timer.c: fix jiffies wrap behavior of round_jiffies*()
authorBart Van Assche <bart.vanassche@gmail.com>
Thu, 27 Jun 2013 23:50:59 +0000 (09:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:14 +0000 (16:37 +1000)
commit17973ad3740afad437bfbeea00184363f7c831f3
treeb622dd38a585775b042694046bb3ce483bafe46f
parenteea51066bb079d98497d38a50137e4c460c7007d
kernel/timer.c: fix jiffies wrap behavior of round_jiffies*()

Make sure that the round_jiffies*() functions return a time that is
in the future when the jiffies counter has recently wrapped.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/timer.c