Skip to content

Commit

Permalink
time: Export set_normalized_timespec.
Browse files Browse the repository at this point in the history
Sorry I have just realized set_normalized_timespec() (used in
timespec_sub()) is not exported, and link will fail because of it...

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Apr 22, 2008
1 parent d7ee147 commit 7c3f944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec)
ts->tv_sec = sec;
ts->tv_nsec = nsec;
}
EXPORT_SYMBOL(set_normalized_timespec);

/**
* ns_to_timespec - Convert nanoseconds to timespec
Expand Down

0 comments on commit 7c3f944

Please sign in to comment.