summaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-02-09 00:41:02 +0400
committerOlof Johansson <olof@lixom.net>2012-02-10 04:00:34 +0400
commit2efee387dc7c3a6cca92f6e9250a464ae3f8aec8 (patch)
treed28695cae6ea9c343f6968c31ea3c61bad86f451 /lib/syscall.c
parent66f32a0b356e2e4a1dc98766d50316e3315e3405 (diff)
downloadlinux-2efee387dc7c3a6cca92f6e9250a464ae3f8aec8.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 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions