History

timekeeping: Remove unused get_seconds()

The get_seconds() cleanup seems to have been completed, now it is time to delete the legacy interface to avoid misuse later.

Chunguang Xu committed 5 years ago

Commit aba428a1 parent 7c53f6b3 files · +1 −17Browse files

Showing the changes to kernel (1 of 3 files). Show all

Unified · Split

kernel/time/timekeeping.c+1−2
@@ -991,8 +991,7 @@ EXPORT_SYMBOL_GPL(ktime_get_seconds); · 990 unmodified lines
991/**991/**
992 * ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME992 * ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME
993 *993 *
994 * Returns the wall clock seconds since 1970. This replaces the994 * Returns the wall clock seconds since 1970.
995 * get_seconds() interface which is not y2038 safe on 32bit systems.
996 *995 *
997 * For 64bit systems the fast access to tk->xtime_sec is preserved. On996 * For 64bit systems the fast access to tk->xtime_sec is preserved. On
998 * 32bit systems the access must be protected with the sequence997 * 32bit systems the access must be protected with the sequence

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t