Commit c93d89f3dbf0202bf19c07960ca8602b48c2f9a0

Authored by Jason Wang
Committed by Avi Kivity
1 parent 6339204ecc

Export the symbol of getboottime and mmonotonic_to_bootbased

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

Cc: stable@kernel.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

kernel/time/timekeeping.c
... ... @@ -880,6 +880,7 @@
880 880  
881 881 set_normalized_timespec(ts, -boottime.tv_sec, -boottime.tv_nsec);
882 882 }
  883 +EXPORT_SYMBOL_GPL(getboottime);
883 884  
884 885 /**
885 886 * monotonic_to_bootbased - Convert the monotonic time to boot based.
... ... @@ -889,6 +890,7 @@
889 890 {
890 891 *ts = timespec_add_safe(*ts, total_sleep_time);
891 892 }
  893 +EXPORT_SYMBOL_GPL(monotonic_to_bootbased);
892 894  
893 895 unsigned long get_seconds(void)
894 896 {