[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)
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

Simple merge