Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
backports
/
backports
/
cc3688f574bbcac0f15ab2d2cbdcf5fac7524016
/
.
/
backport
/
compat
/
backport-4.18.c
blob: c47fabe5a7a1cd0aba25d81f056371920f58bd02 [
file
] [
log
] [
blame
]
/*
* Copyright (C) 2018 Intel Corporation
*/
#include
<linux/hrtimer.h>
time64_t
ktime_get_boottime_seconds
(
void
)
{
return
ktime_divns
(
ktime_get_boottime
(),
NSEC_PER_SEC
);
}
EXPORT_SYMBOL_GPL
(
ktime_get_boottime_seconds
);