The get_seconds() cleanup seems to have been completed, now it is time to delete the legacy interface to avoid misuse later.
Showing the changes to include/linux (2 of 3 files). Show all
Unified · Split
| @@ -230,6 +230,5 @@ static inline ktime_t ms_to_ktime(u64 ms) · 229 unmodified lines | |||
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | # include <linux/timekeeping.h> | 232 | # include <linux/timekeeping.h> |
| 233 | # include <linux/timekeeping32.h> | ||
| 234 | 233 | ||
| 235 | #endif | 234 | #endif |
| @@ -1,14 +0,0 @@ | |||
| 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 | |||
| 9 | static inline unsigned long get_seconds(void) | ||
| 10 | { | ||
| 11 | return ktime_get_real_seconds(); | ||
| 12 | } | ||
| 13 | |||
| 14 | #endif | ||