blob: 266017fc9ee9c194bd5013161a442007e23cd9cf [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001#ifndef _LINUX_TIMEKEEPING32_H
2#define _LINUX_TIMEKEEPING32_H
3/*
4 * These interfaces are all based on the old timespec type
5 * and should get replaced with the timespec64 based versions
6 * over time so we can remove the file here.
7 */
8
David Brazdil0f672f62019-12-10 10:32:29 +00009static inline unsigned long get_seconds(void)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010{
David Brazdil0f672f62019-12-10 10:32:29 +000011 return ktime_get_real_seconds();
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012}
13
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000014#endif