aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-06-17 18:03:02 +0200
committerJohn Stultz <[email protected]>2016-06-20 12:47:26 -0700
commit4a19bd3d22d51a0c89db10879dacaffa0f52aecf (patch)
treed6b94fc167155d529e1db63d762a83e01ae462e3 /net/switchdev
parente6c2682a1da36a2e79d9bab470412374434ce89e (diff)
time: Avoid timespec in udelay_test
udelay_test_single() uses ktime_get_ts() to get two timespec values and calculate the difference between them, while udelay_test_show() uses the same to printk() the current monotonic time. Both of these are y2038 safe on all machines, but we want to get rid of struct timespec anyway, so this converts the code to use ktime_get_ns() and ktime_get_ts64() respectively. Cc: Prarit Bhargava <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions