Skip to content

Commit

Permalink
um: Fix read_persistent_clock fallout
Browse files Browse the repository at this point in the history
commit 9f31f57(um: Convert to use read_persistent_clock) moved the
code, but not the variable.

Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
KAGA-KOKO committed Aug 3, 2010
1 parent 157b1a2 commit b292307
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/um/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b292307

Please sign in to comment.