IB/mlx4: Use boottime
authorAbhilash Jindal <klock.android@gmail.com>
Sun, 31 Jan 2016 18:53:31 +0000 (13:53 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:11:40 +0000 (17:11 -0500)
commit571e09eeff544e5562bd2a704f1fe91083f7592f
tree0bf067a3323e5dcc5bf439284cf0a278fdcfd4c7
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
IB/mlx4: Use boottime

Wall time obtained from ktime_get_real_ns is susceptible to sudden jumps due to
user setting the time or due to NTP.  Boot time is constantly increasing time
better suited for comparing two timestamps.

Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/alias_GUID.c