diff options
author | Arnd Bergmann <[email protected]> | 2017-10-19 13:14:47 +0200 |
---|---|---|
committer | John Stultz <[email protected]> | 2017-10-30 15:16:38 -0700 |
commit | 5dbf20127f8cca8588ad0b0e3e8ded587ac7afa0 (patch) | |
tree | 0fefb3f111b8fa0b85f3e47ab095ab6e0226537c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 85bf19e7df2479140eff2348a4e6a9c19b5c3960 (diff) |
time: Move time_t based interfaces to time32.h
Interfaces based on 'struct timespec' or 'struct timeval' should no
longer be used for new code, which can use either ktime_t or 'struct
timespec64' instead.
To make this a little clearer, this moves the various helpers into a new
time32.h header. For the moment, this gets included by the normal time.h,
but we may be able to separate it entirely when most users of time32.h
are gone.
Individual helpers in the new file can get removed once they become unused
in the future.
Since the contents of time32.h look a lot like what's in time64.h, I'm
reordering them during the move to make them more similar, and to allow
a follow-up patch to redirect the 'timespec' based functions to thei
'timespec64' based counterparts on 64-bit architectures later.
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Miroslav Lichvar <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Stephen Boyd <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
[jstultz: Whitespace & checkpatch fixups]
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions