diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 17:04:55 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 18:01:46 -0400 |
commit | 250fade8af2ac5dda8d5106ea06738b6f9e768a7 (patch) | |
tree | da800ac51d851b2ad6b1595cab0d721ffb92dc95 /kernel/time/timekeeping.c | |
parent | cbcf2dd3b3d4d990610259e8d878fc8dc1f17d80 (diff) |
timekeeping: Remove monotonic_to_bootbased
No more users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/timekeeping.c')
-rw-r--r-- | kernel/time/timekeeping.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index f7378eaebe67..b35613508725 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
@@ -1570,21 +1570,6 @@ void get_monotonic_boottime(struct timespec *ts) | |||
1570 | } | 1570 | } |
1571 | EXPORT_SYMBOL_GPL(get_monotonic_boottime); | 1571 | EXPORT_SYMBOL_GPL(get_monotonic_boottime); |
1572 | 1572 | ||
1573 | /** | ||
1574 | * monotonic_to_bootbased - Convert the monotonic time to boot based. | ||
1575 | * @ts: pointer to the timespec to be converted | ||
1576 | */ | ||
1577 | void monotonic_to_bootbased(struct timespec *ts) | ||
1578 | { | ||
1579 | struct timekeeper *tk = &tk_core.timekeeper; | ||
1580 | struct timespec64 ts64; | ||
1581 | |||
1582 | ts64 = timespec_to_timespec64(*ts); | ||
1583 | ts64 = timespec64_add(ts64, tk->total_sleep_time); | ||
1584 | *ts = timespec64_to_timespec(ts64); | ||
1585 | } | ||
1586 | EXPORT_SYMBOL_GPL(monotonic_to_bootbased); | ||
1587 | |||
1588 | unsigned long get_seconds(void) | 1573 | unsigned long get_seconds(void) |
1589 | { | 1574 | { |
1590 | struct timekeeper *tk = &tk_core.timekeeper; | 1575 | struct timekeeper *tk = &tk_core.timekeeper; |