]> git.baikalelectronics.ru Git - kernel.git/commit
[BLUETOOTH] net/bluetooth/hci_core.c: Use time_* macros
authorS.Çağlar Onur <caglar@pardus.org.tr>
Mon, 18 Feb 2008 07:25:57 +0000 (23:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2008 07:25:57 +0000 (23:25 -0800)
commit274c05fecb7183d1781f52ad461b3468ba83c433
tree174afa01ab8c168ab97e6a017c9e441d8f89834d
parent70c971223b4d9a220cf57cf1d5467e9199d300e6
[BLUETOOTH] net/bluetooth/hci_core.c: Use time_* macros

The functions time_before, time_before_eq, time_after, and
time_after_eq are more robust for comparing jiffies against other
values.

So following patch implements usage of the time_after() macro, defined
at linux/jiffies.h, which deals with wrapping correctly

Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hci_core.c