diff options
author | Arnd Bergmann <[email protected]> | 2018-04-27 15:40:14 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-05-19 13:57:32 +0200 |
commit | fb7fcc96a86cfaef0f6dcc0665516aa68611e736 (patch) | |
tree | 1e09a71e1dde31f7cfab5080dba19dec0dadb049 /lib/test_overflow.c | |
parent | edca71fecb77e2697337d192cbfe96f513407761 (diff) |
timekeeping: Standardize on ktime_get_*() naming
The current_kernel_time64, get_monotonic_coarse64, getrawmonotonic64,
get_monotonic_boottime64 and timekeeping_clocktai64 interfaces have
rather inconsistent naming, and they differ in the calling conventions
by passing the output either by reference or as a return value.
Rename them to ktime_get_coarse_real_ts64, ktime_get_coarse_ts64,
ktime_get_raw_ts64, ktime_get_boottime_ts64 and ktime_get_clocktai_ts64
respectively, and provide the interfaces with macros or inline
functions as needed.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: John Stultz <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions