You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
timekeeping: Use ktime_t based data for ktime_get_clocktai()
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
committed by
John Stultz
parent
b82c817e2d
commit
afab07c0e9
@@ -512,21 +512,6 @@ void timekeeping_clocktai(struct timespec *ts)
|
||||
}
|
||||
EXPORT_SYMBOL(timekeeping_clocktai);
|
||||
|
||||
|
||||
/**
|
||||
* ktime_get_clocktai - Returns the TAI time of day in a ktime
|
||||
*
|
||||
* Returns the time of day in a ktime.
|
||||
*/
|
||||
ktime_t ktime_get_clocktai(void)
|
||||
{
|
||||
struct timespec ts;
|
||||
|
||||
timekeeping_clocktai(&ts);
|
||||
return timespec_to_ktime(ts);
|
||||
}
|
||||
EXPORT_SYMBOL(ktime_get_clocktai);
|
||||
|
||||
#ifdef CONFIG_NTP_PPS
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user