[ARM] 4149/1: AT91: Overrun in SAM9 gettimeoffset().
authorAndrew Victor <andrew@sanpeople.com>
Thu, 8 Feb 2007 10:04:19 +0000 (11:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Feb 2007 14:55:29 +0000 (14:55 +0000)
commit3392b309dbd1f1f37454c412c2045448300cf374
treeaf9ae43a49a28336617486189066d297ef8e636d
parent127a7ec69c9ce17a5add2e3c8c2f1a2733fb88d8
[ARM] 4149/1: AT91: Overrun in SAM9 gettimeoffset().

Fix an overrun in the AT91SAM9 gettimeoffset() function.  This causes
the time value returned by gettimeofday() to jump "backwards".

Original patch from Michel Benoit.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/at91sam926x_time.c