projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7ee147
)
time: Export set_normalized_timespec.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Tue, 22 Apr 2008 02:45:12 +0000
(19:45 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Apr 2008 02:45:12 +0000
(19:45 -0700)
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>
kernel/time.c
patch
|
blob
|
history
diff --git
a/kernel/time.c
b/kernel/time.c
index
a5ec013
..
35d373a
100644
(file)
--- a/
kernel/time.c
+++ b/
kernel/time.c
@@
-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