diff options
author | Roland Stigge <[email protected]> | 2012-02-08 21:41:02 +0100 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2012-02-09 16:00:34 -0800 |
commit | 2efee387dc7c3a6cca92f6e9250a464ae3f8aec8 (patch) | |
tree | d28695cae6ea9c343f6968c31ea3c61bad86f451 /net/lapb/lapb_timer.c | |
parent | 66f32a0b356e2e4a1dc98766d50316e3315e3405 (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