]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfff8519eb61587b19879e57c86665fb28da3de6a
tree0bf067a3323e5dcc5bf439284cf0a278fdcfd4c7
parentb4c6e182f5b636364ef191076c0c02fb76bae986
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