IB/ipath: Fix time comparison to use time_after_eq()
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 17 Apr 2008 04:09:28 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:28 +0000 (21:09 -0700)
commitb3b8128fd3b0966830ee90f1162173d07cb496a0
tree72657b2b5611973bf12b8e4207d5090225f1fb20
parentf438000f7a31fad7cfd27f33ad324a250f4cd2df
IB/ipath: Fix time comparison to use time_after_eq()

Raw comparison against jiffies will fail if jiffies wraps, although
since ipath currently only supports 64-bit architectures, this is rather
far-fetched.  Still, it's better to use time_after_eq().

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_mad.c