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.11-rc1~77^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e04d3804d3ac97d8c03a41d78d0f0674b5d01e1;p=pandora-kernel.git timer: Fix jiffies wrap behavior of round_jiffies_common() 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 Cc: stable@vger.kernel.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed