diff options
author | Roland Stigge <stigge@antcom.de> | 2012-02-09 00:41:02 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-10 03:55:50 +0400 |
commit | f40a6818857e00c1d0ecec9af832f46a83f12f53 (patch) | |
tree | d28695cae6ea9c343f6968c31ea3c61bad86f451 /net/sched/sch_dsmark.c | |
parent | 8998316c425ed2b36ca3b01a658f08a7d006a4f9 (diff) | |
download | linux-f40a6818857e00c1d0ecec9af832f46a83f12f53.tar.xz |
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 <stigge@antcom.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Kevin Wells <kevin.wells@nxp.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'net/sched/sch_dsmark.c')
0 files changed, 0 insertions, 0 deletions