Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192221
b: refs/heads/master
c: 6ffdc57
h: refs/heads/master
i:
  192219: 675d6a0
v: v3
  • Loading branch information
John Stultz authored and Thomas Gleixner committed Mar 13, 2010
1 parent b6f6270 commit bc73185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: e2032a4a7237e97cd2ee36e2d806c5742ace189f
refs/heads/master: 6ffdc5774a9ef80e58db398a8307d5b2db2644ce
12 changes: 5 additions & 7 deletions trunk/arch/ia64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,18 +430,16 @@ static int __init rtc_init(void)
}
module_init(rtc_init);

void read_persistent_clock(struct timespec *ts)
{
efi_gettimeofday(ts);
}

void __init
time_init (void)
{
register_percpu_irq(IA64_TIMER_VECTOR, &timer_irqaction);
efi_gettimeofday(&xtime);
ia64_init_itm();

/*
* Initialize wall_to_monotonic such that adding it to xtime will yield zero, the
* tv_nsec field must be normalized (i.e., 0 <= nsec < NSEC_PER_SEC).
*/
set_normalized_timespec(&wall_to_monotonic, -xtime.tv_sec, -xtime.tv_nsec);
}

/*
Expand Down

0 comments on commit bc73185

Please sign in to comment.