From: Thomas Gleixner Date: Mon, 5 Dec 2011 20:20:23 +0000 (+0100) Subject: alarmtimers: Fix time comparison X-Git-Tag: v3.2-rc5~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9c024b3f3e07d087974db4c0dc46217fff3a6c0;p=pandora-kernel.git alarmtimers: Fix time comparison The expiry function compares the timer against current time and does not expire the timer when the expiry time is >= now. That's wrong. If the timer is set for now, then it must expire. Make the condition expiry > now for breaking out the loop. Signed-off-by: Thomas Gleixner Acked-by: John Stultz Cc: stable@kernel.org --- Reading git-diff-tree failed