]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3384/1: AT91RM9200: Timer
authorAndrew Victor <andrew@sanpeople.com>
Wed, 22 Mar 2006 20:14:13 +0000 (20:14 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Mar 2006 20:14:13 +0000 (20:14 +0000)
commit39806805de0314d5847bfd6d046ad7d4407ccd46
tree6a05969531953e3831650cde71a9143571472456
parent112d02e8d556ea0512afcfc3b0110c87ec9eb5f9
[ARM] 3384/1: AT91RM9200: Timer

Patch from Andrew Victor

If the timer interrupt is ever significantly delayed (or after the
system was suspended), the system could spin incrementing the time for
too long.
The fix is to replace the "do {} while" with a "while {}".

Orignal patch by Savin Zlobec and Peter Menzebach.

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