Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117611
b: refs/heads/master
c: 2ec0227
h: refs/heads/master
i:
  117609: ca58c48
  117607: 38136ca
v: v3
  • Loading branch information
Arjan van de Ven committed Sep 6, 2008
1 parent dc0a550 commit 6945006
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 584fb4a76413ec9215741e075e0dfb69173b213f
refs/heads/master: 2ec02270c00f94b08fddfb68c37510a9fb47ac7c
26 changes: 13 additions & 13 deletions trunk/include/linux/hrtimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,6 @@ struct hrtimer_cpu_base {
#endif
};

/*
* In high resolution mode the time reference must be read accurate
*/
static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer)
{
return timer->base->get_time();
}

static inline int hrtimer_is_hres_active(struct hrtimer *timer)
{
return timer->base->cpu_base->hres_active;
}

static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time)
{
timer->_expires = time;
Expand Down Expand Up @@ -283,6 +270,19 @@ extern void clock_was_set(void);
extern void hres_timers_resume(void);
extern void hrtimer_interrupt(struct clock_event_device *dev);

/*
* In high resolution mode the time reference must be read accurate
*/
static inline ktime_t hrtimer_cb_get_time(struct hrtimer *timer)
{
return timer->base->get_time();
}

static inline int hrtimer_is_hres_active(struct hrtimer *timer)
{
return timer->base->cpu_base->hres_active;
}

/*
* The resolution of the clocks. The resolution value is returned in
* the clock_getres() system call to give application programmers an
Expand Down

0 comments on commit 6945006

Please sign in to comment.