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 kernel (1 of 3 files). Show all
Unified · Split
| @@ -991,8 +991,7 @@ EXPORT_SYMBOL_GPL(ktime_get_seconds); · 990 unmodified lines | ||
| 991 | 991 | /** |
| 992 | 992 | * ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME |
| 993 | 993 | * |
| 994 | − * Returns the wall clock seconds since 1970. This replaces the | |
| 995 | − * get_seconds() interface which is not y2038 safe on 32bit systems. | |
| 994 | + * Returns the wall clock seconds since 1970. | |
| 996 | 995 | * |
| 997 | 996 | * For 64bit systems the fast access to tk->xtime_sec is preserved. On |
| 998 | 997 | * 32bit systems the access must be protected with the sequence |