Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47565
b: refs/heads/master
c: 3db5db4
h: refs/heads/master
i:
  47563: 551e22f
v: v3
  • Loading branch information
Helge Deller authored and Linus Torvalds committed Feb 11, 2007
1 parent e214021 commit 05cbc2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: fc0ecff698165ae8e178efa086e0dd1f385206b1
refs/heads/master: 3db5db4fcdafc85b99d171336a7d2f25765ccd13
4 changes: 2 additions & 2 deletions trunk/include/linux/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ struct time_interpolator {
u8 jitter; /* if set compensate for fluctuations */
u32 nsec_per_cyc; /* set by register_time_interpolator() */
void *addr; /* address of counter or function */
u64 mask; /* mask the valid bits of the counter */
cycles_t mask; /* mask the valid bits of the counter */
unsigned long offset; /* nsec offset at last update of interpolator */
u64 last_counter; /* counter value in units of the counter at last update */
u64 last_cycle; /* Last timer value if TIME_SOURCE_JITTER is set */
cycles_t last_cycle; /* Last timer value if TIME_SOURCE_JITTER is set */
u64 frequency; /* frequency in counts/second */
long drift; /* drift in parts-per-million (or -1) */
unsigned long skips; /* skips forward */
Expand Down
6 changes: 3 additions & 3 deletions trunk/kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ struct time_interpolator *time_interpolator __read_mostly;
static struct time_interpolator *time_interpolator_list __read_mostly;
static DEFINE_SPINLOCK(time_interpolator_lock);

static inline u64 time_interpolator_get_cycles(unsigned int src)
static inline cycles_t time_interpolator_get_cycles(unsigned int src)
{
unsigned long (*x)(void);

Expand All @@ -1650,8 +1650,8 @@ static inline u64 time_interpolator_get_counter(int writelock)

if (time_interpolator->jitter)
{
u64 lcycle;
u64 now;
cycles_t lcycle;
cycles_t now;

do {
lcycle = time_interpolator->last_cycle;
Expand Down

0 comments on commit 05cbc2e

Please sign in to comment.