diff options
Diffstat (limited to 'kernel/time/timekeeping.c')
| -rw-r--r-- | kernel/time/timekeeping.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 843d8a711b1..16736379a9c 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
| @@ -881,6 +881,7 @@ void getboottime(struct timespec *ts) | |||
| 881 | 881 | ||
| 882 | set_normalized_timespec(ts, -boottime.tv_sec, -boottime.tv_nsec); | 882 | set_normalized_timespec(ts, -boottime.tv_sec, -boottime.tv_nsec); |
| 883 | } | 883 | } |
| 884 | EXPORT_SYMBOL_GPL(getboottime); | ||
| 884 | 885 | ||
| 885 | /** | 886 | /** |
| 886 | * monotonic_to_bootbased - Convert the monotonic time to boot based. | 887 | * monotonic_to_bootbased - Convert the monotonic time to boot based. |
| @@ -890,6 +891,7 @@ void monotonic_to_bootbased(struct timespec *ts) | |||
| 890 | { | 891 | { |
| 891 | *ts = timespec_add_safe(*ts, total_sleep_time); | 892 | *ts = timespec_add_safe(*ts, total_sleep_time); |
| 892 | } | 893 | } |
| 894 | EXPORT_SYMBOL_GPL(monotonic_to_bootbased); | ||
| 893 | 895 | ||
| 894 | unsigned long get_seconds(void) | 896 | unsigned long get_seconds(void) |
| 895 | { | 897 | { |
