diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-12-05 21:20:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-21 12:58:19 -0800 |
commit | b2b3ffbcbc6fb1b98ef3cb4dd85bc1d095ac95ee (patch) | |
tree | de4c0867ec51203a1e83a4bb1bc3e1c69fa0cb09 /arch | |
parent | e0b652a1a218e863e8fcf00aee316bf618bd0c1a (diff) |
alarmtimers: Fix time comparison
commit c9c024b3f3e07d087974db4c0dc46217fff3a6c0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions