Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | #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 Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 9 | static inline unsigned long get_seconds(void) |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 10 | { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 11 | return ktime_get_real_seconds(); |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | } |
| 13 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 14 | #endif |