projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339204
)
Export the symbol of getboottime and mmonotonic_to_bootbased
author
Jason Wang
<
[email protected]
>
Wed, 27 Jan 2010 11:13:40 +0000
(19:13 +0800)
committer
Avi Kivity
<
[email protected]
>
Tue, 9 Feb 2010 17:20:15 +0000
(19:20 +0200)
Export getboottime and monotonic_to_bootbased in order to let them
could be used by following patch.
Cc:
[email protected]
Signed-off-by: Jason Wang <
[email protected]
>
Signed-off-by: Marcelo Tosatti <
[email protected]
>
kernel/time/timekeeping.c
patch
|
blob
|
history
diff --git
a/kernel/time/timekeeping.c
b/kernel/time/timekeeping.c
index 7faaa32fbf4f37d1d2efdedf9a3087a98455f7b6..e2ab064c6d418b21cc5467339f9a2a2e1909eb17 100644
(file)
--- a/
kernel/time/timekeeping.c
+++ b/
kernel/time/timekeeping.c
@@
-880,6
+880,7
@@
void getboottime(struct timespec *ts)
set_normalized_timespec(ts, -boottime.tv_sec, -boottime.tv_nsec);
}
+EXPORT_SYMBOL_GPL(getboottime);
/**
* monotonic_to_bootbased - Convert the monotonic time to boot based.
@@
-889,6
+890,7
@@
void monotonic_to_bootbased(struct timespec *ts)
{
*ts = timespec_add_safe(*ts, total_sleep_time);
}
+EXPORT_SYMBOL_GPL(monotonic_to_bootbased);
unsigned long get_seconds(void)
{