From: Bart Van Assche Date: Tue, 21 May 2013 18:43:50 +0000 (+0200) Subject: timer: Fix jiffies wrap behavior of round_jiffies_common() X-Git-Tag: v3.2.49~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ae0bb6005040a774b80dcbb138df03fdf13088;p=pandora-kernel.git timer: Fix jiffies wrap behavior of round_jiffies_common() commit 9e04d3804d3ac97d8c03a41d78d0f0674b5d01e1 upstream. Direct compare of jiffies related values does not work in the wrap around case. Replace it with time_is_after_jiffies(). Signed-off-by: Bart Van Assche Cc: Arjan van de Ven Cc: Stephen Rothwell Link: http://lkml.kernel.org/r/519BC066.5080600@acm.org Signed-off-by: Thomas Gleixner Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed