aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2011-12-05 20:20:23 +0000
committerThomas Gleixner <[email protected]>2011-12-06 10:38:32 +0000
commitc9c024b3f3e07d087974db4c0dc46217fff3a6c0 (patch)
tree4dd125eef6c2f332d641876fac0e6f522b1d75c5 /drivers/rtc/interface.c
parentptp: Fix clock_getres() implementation (diff)
downloadkernel-c9c024b3f3e07d087974db4c0dc46217fff3a6c0.tar.gz
kernel-c9c024b3f3e07d087974db4c0dc46217fff3a6c0.zip
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 <[email protected]> Acked-by: John Stultz <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions