commit | dce75a8c71819ed4c7efdcd53c9b6f6356dc8cb5 | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Wed Aug 10 11:31:03 2011 -0700 |
committer | John Stultz <john.stultz@linaro.org> | Wed Aug 10 14:55:23 2011 -0700 |
tree | 76d25888bb83814fc1f9d5f8838483730ca59882 | |
parent | 54da23b720d5d612f8f1669f9ed3744008fb7382 [diff] |
alarmtimers: Add alarm_forward functionality In order to avoid wasting time expiring and re-adding very high freq periodic alarmtimers, introduce alarm_forward() which is similar to hrtimer_forward and moves the timer to the next future expiration time and returns the number of overruns. CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>