]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] orion: sched_clock implementation for orion platforms
authorStefan Agner <stefan@agner.ch>
Tue, 12 May 2009 17:30:41 +0000 (10:30 -0700)
committerNicolas Pitre <nico@cam.org>
Mon, 8 Jun 2009 17:04:54 +0000 (13:04 -0400)
commit42048db2b4fca83748d1b7ec227dd96e24757a23
tree5b8167964d803515471e1a7450eb1f4fd74655c9
parentf03278b78cc2f0ea4f12921d948b474ef5300cec
[ARM] orion: sched_clock implementation for orion platforms

sched_clock implementation for orion platform. Its realized using
free-running clocksource timer, which provides a resolution of 7.5ns
(depending on tclk). It's derived from PXA's sched_clock implementation.

[ nico: renamed orion2ns to tclk2ns, fixed max value in the comment ]

Signed-off-by: Stefan Agner <stefan.agner@yahoo.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/plat-orion/time.c