]> git.baikalelectronics.ru Git - kernel.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)
commitbd520a3925a34314090589676be232ffec231c1d
tree6a05969531953e3831650cde71a9143571472456
parentb6ab7214ab093551b0363a96717ac464110e849a
[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