diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 21:04:16 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 10:17:59 -0700 |
commit | b82c817e2d16e818c472eb71019de521816000a3 (patch) | |
tree | 2d35c8db2aac6e285c14c5db633d17875c929d76 /kernel/time/timekeeping.c | |
parent | f5264d5d5a0729306cc792d84432b97785d2662a (diff) | |
download | linux-b82c817e2d16e818c472eb71019de521816000a3.tar.gz linux-b82c817e2d16e818c472eb71019de521816000a3.tar.bz2 linux-b82c817e2d16e818c472eb71019de521816000a3.zip |
timekeeping; Use ktime_t based data for ktime_get_boottime()
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 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 56db2e16970a..5e60aa09af79 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -1566,23 +1566,6 @@ void get_monotonic_boottime(struct timespec *ts) EXPORT_SYMBOL_GPL(get_monotonic_boottime); /** - * ktime_get_boottime - Returns monotonic time since boot in a ktime - * - * Returns the monotonic time since boot in a ktime - * - * This is similar to CLOCK_MONTONIC/ktime_get, but also - * includes the time spent in suspend. - */ -ktime_t ktime_get_boottime(void) -{ - struct timespec ts; - - get_monotonic_boottime(&ts); - return timespec_to_ktime(ts); -} -EXPORT_SYMBOL_GPL(ktime_get_boottime); - -/** * monotonic_to_bootbased - Convert the monotonic time to boot based. * @ts: pointer to the timespec to be converted */ |