summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2013-05-10 17:10:42 -0700
committerNitin Garg <nitin.garg@freescale.com>2014-04-21 22:35:15 -0500
commit32b5e575e00d3a79c25bd3455f8549532914129b (patch)
tree75522d67b730aa4440101cd401ff093bace05e92 /include
parent20440355c8283c0be1a429d4dd6f6ee02dc2bd71 (diff)
alarmtimer: add alarm_forward_now
Similar to hrtimer_forward_now, move the expires time forward to an interval from the current time of the associated clock. Change-Id: I73fed223321167507b6eddcb7a57d235ffcfc1be Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/alarmtimer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/alarmtimer.h b/include/linux/alarmtimer.h
index 65e04ceec27d..8e696a105a4d 100644
--- a/include/linux/alarmtimer.h
+++ b/include/linux/alarmtimer.h
@@ -49,6 +49,7 @@ int alarm_try_to_cancel(struct alarm *alarm);
int alarm_cancel(struct alarm *alarm);
u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
+u64 alarm_forward_now(struct alarm *alarm, ktime_t interval);
/* Provide way to access the rtc device being used by alarmtimers */
struct rtc_device *alarmtimer_get_rtcdev(void);