dect
/
linux-2.6
Archived
13
0
Fork 0

um: Fix read_persistent_clock fallout

commit 9f31f57(um: Convert to use read_persistent_clock) moved the
code, but not the variable.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2010-08-03 20:34:48 +02:00
parent 157b1a2385
commit b29230769e
1 changed files with 2 additions and 3 deletions

View File

@ -104,15 +104,14 @@ static void __init setup_itimer(void)
void read_persistent_clock(struct timespec *ts)
{
nsecs = os_nsecs();
long long nsecs = os_nsecs();
set_normalized_timespec(ts, nsecs / NSEC_PER_SEC,
nsecs % NSEC_PER_SEC);
}
void __init time_init(void)
{
long long nsecs;
timer_init();
late_time_init = setup_itimer;
}