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:57:34 -0800 |
commit | 612e5dbc550f30c787e40b958d351720e72091c6 (patch) | |
tree | 3ba8f13e9a8d7f7bf0a6511bffe48f04d305c9e4 /arch/arm/mach-ep93xx | |
parent | 2a72a47b80bf4dfbdec91889d1d2c4702f134da5 (diff) | |
download | kernel_samsung_aries-612e5dbc550f30c787e40b958d351720e72091c6.zip kernel_samsung_aries-612e5dbc550f30c787e40b958d351720e72091c6.tar.gz kernel_samsung_aries-612e5dbc550f30c787e40b958d351720e72091c6.tar.bz2 |
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/arm/mach-ep93xx')
0 files changed, 0 insertions, 0 deletions