commit | c9c024b3f3e07d087974db4c0dc46217fff3a6c0 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Mon Dec 05 21:20:23 2011 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Dec 06 11:38:32 2011 +0100 |
tree | 4dd125eef6c2f332d641876fac0e6f522b1d75c5 | |
parent | d68fb11c3dae75c8331538dcf083a65e697cc034 [diff] |
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 <tglx@linutronix.de> Acked-by: John Stultz <john.stultz@linaro.org> Cc: stable@kernel.org