diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-09-24 11:57:46 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-24 12:10:13 +0200 |
commit | c42ccbae79bdc77e2a2356172d51b78997b8455f (patch) | |
tree | fb00e3d8d036f5449f138f7e2aff54b15e8bcc5a /backport/backport-include/linux/kmemleak.h | |
parent | e1613d0c99e7ff352c0d59aa6a99ba1a3d8eb609 (diff) |
backport: add ktime_get_raw_ts64() backport for < 3.19
The getrawmonotonic64() function that is used by the
ktime_get_raw_ts64() backport was only introduced in 3.19. To fix
compilation with earlier kernels, do the convertion from
getrawmonotonic() manually if the kernel is < 3.19.
Additionally, add timespec_to_timespec64() that we need for this
conversion (and which was only introduced in 3.17).
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/kmemleak.h')
0 files changed, 0 insertions, 0 deletions