]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit82453021b8be85171350c695d7ebafe7b517c812
tree174afa01ab8c168ab97e6a017c9e441d8f89834d
parent5ee46e562c9c10a5e25920c4406a42061cf27839
[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