diff options
| author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-28 11:08:17 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-10-19 09:40:38 -0400 |
| commit | bd6d5f1dd586a27c2082ad4d95ee58913b471f5c (patch) | |
| tree | 3d97718b86ed5d75fee6ecff165367f8a73670cf /include/linux | |
| parent | c8f95e3e04ffc1d96b7b615f8be9b7ac941ead15 (diff) | |
hrtimer: add init function to properly set hrtimer_start_on_info params
This helper function is also useful to remind us that if we use
hrtimer_pull outside the scope of triggering remote releases, we need to
take care of properly set the "state" field of hrtimer_start_on_info
structure.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hrtimer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 370096d132d1..9470a9e4a8ff 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
| @@ -374,6 +374,7 @@ __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, | |||
| 374 | const enum hrtimer_mode mode, int wakeup); | 374 | const enum hrtimer_mode mode, int wakeup); |
| 375 | 375 | ||
| 376 | #ifdef CONFIG_ARCH_HAS_SEND_PULL_TIMERS | 376 | #ifdef CONFIG_ARCH_HAS_SEND_PULL_TIMERS |
| 377 | extern void hrtimer_start_on_info_init(struct hrtimer_start_on_info *info); | ||
| 377 | extern int hrtimer_start_on(int cpu, struct hrtimer_start_on_info *info, | 378 | extern int hrtimer_start_on(int cpu, struct hrtimer_start_on_info *info, |
| 378 | struct hrtimer *timer, ktime_t time, | 379 | struct hrtimer *timer, ktime_t time, |
| 379 | const enum hrtimer_mode mode); | 380 | const enum hrtimer_mode mode); |
