]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] 3579/1: AT91RM9200 Timer simplification
authorAndrew Victor <andrew@sanpeople.com>
Mon, 19 Jun 2006 14:23:41 +0000 (15:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Jun 2006 14:23:41 +0000 (15:23 +0100)
commit963151f2471d0e6475d8b2d3a005417aec1766f7
tree37602e1518fea1fea3243f7a527ea3c7deea3d34
parent91f8ed835ffb34b4108cc16eefd3303e4068bee0
[ARM] 3579/1: AT91RM9200 Timer simplification

Patch from Andrew Victor

Use a global variable 'last_crtr' to store the time of the last timer
tick instead of the ST_RTAR register.
It's faster, frees up the ST_RTAR register for other uses, and hopefully
makes the code more understandable.  [Patch from Peter Menzebach]

Also add the SA_TIMER flag to Timer IRQ.  (It seems to be required for
the realtime preempt patch).

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