]> Git Repo - linux.git/commitdiff
Export the symbol of getboottime and mmonotonic_to_bootbased
authorJason Wang <[email protected]>
Wed, 27 Jan 2010 11:13:40 +0000 (19:13 +0800)
committerAvi 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

index 7faaa32fbf4f37d1d2efdedf9a3087a98455f7b6..e2ab064c6d418b21cc5467339f9a2a2e1909eb17 100644 (file)
@@ -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)
 {
This page took 0.06408 seconds and 4 git commands to generate.