diff options
author | Arnd Bergmann <[email protected]> | 2017-10-19 13:14:48 +0200 |
---|---|---|
committer | John Stultz <[email protected]> | 2017-10-30 15:17:19 -0700 |
commit | abc8f96e3eb846fcf6333395ee1f6ed4a734576c (patch) | |
tree | ff43ddc35d3a039dcc683018ff5b0c4e1f746b37 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 5dbf20127f8cca8588ad0b0e3e8ded587ac7afa0 (diff) |
time: Move time_t conversion helpers to time32.h
On 64-bit architectures, the timespec64 based helpers in linux/time.h
are defined as macros pointing to their timespec based counterparts.
This made sense when they were first introduced, but as we are migrating
away from timespec in general, it's much less intuitive now.
This changes the macros to work in the exact opposite way: we always
provide the timespec64 based helpers and define the old interfaces as
macros for them. Now we can move those macros into linux/time32.h, which
already contains the respective helpers for 32-bit architectures.
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]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions