diff options
author | Roland Stigge <[email protected]> | 2012-02-08 21:41:02 +0100 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2012-02-09 15:55:50 -0800 |
commit | f40a6818857e00c1d0ecec9af832f46a83f12f53 (patch) | |
tree | d28695cae6ea9c343f6968c31ea3c61bad86f451 /net/lapb/lapb_timer.c | |
parent | 8998316c425ed2b36ca3b01a658f08a7d006a4f9 (diff) |
ARM: LPC32xx: clock.c: jiffies wrapping
This patch fixes the jiffies wrapping bug in clock.c.
It corrects the timeout computation based on jiffies, uses time_before() for
correct wrapping handling and replaces a binary "&" which should really be a
logical "&&" in a truth expression.
Signed-off-by: Roland Stigge <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Tested-by: Wolfram Sang <[email protected]>
Acked-by: Kevin Wells <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions