]> 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>
Wed, 19 Jun 2013 00:05:33 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:45 +0000 (17:12 +1000)
commit7f4e510ecfb18176c71a0de41d6152018532d7bd
tree893c15d3ea261a0cc1b5de4e85e9f9b42811a4b7
parent5c1126ded4c89ac058cb649c78e13255410aa7f1
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