diff options
author | Arnd Bergmann <[email protected]> | 2017-10-19 13:14:44 +0200 |
---|---|---|
committer | John Stultz <[email protected]> | 2017-10-30 15:13:35 -0700 |
commit | e0956dcc4ba74ec4b17e32fc9a156fcba1ef6610 (patch) | |
tree | 63b47cbfeb91f6118fc72c896be4b6922e1e9433 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0f295b0650c90362b4111f46d7f9149a0a4191be (diff) |
timekeeping: Consolidate timekeeping_inject_offset code
The code to check the adjtimex() or clock_adjtime() arguments is spread
out across multiple files for presumably only historic reasons. As a
preparatation for a rework to get rid of the use of 'struct timeval'
and 'struct timespec' in there, this moves all the portions into
kernel/time/timekeeping.c and marks them as 'static'.
The warp_clock() function here is not as closely related as the others,
but I feel it still makes sense to move it here in order to consolidate
all callers of timekeeping_inject_offset().
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 fixup]
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