]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Export the symbol of getboottime and mmonotonic_to_bootbased
authorJason Wang <jasowang@redhat.com>
Wed, 27 Jan 2010 11:13:40 +0000 (19:13 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:52 +0000 (07:37 -0800)
commit c93d89f3dbf0202bf19c07960ca8602b48c2f9a0 upstream.

Export getboottime and monotonic_to_bootbased in order to let them
could be used by following patch.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/time/timekeeping.c

index 66d090e3c70a1ccf199aa247422425e42d66b13b..8b709dee8e3415ca03fd46316dcb300e58abeaa4 100644 (file)
@@ -845,6 +845,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.
@@ -854,6 +855,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)
 {