ARM: 6107/1: plat-nomadik: use the MTU clocksrc for sched_clock
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 7 May 2010 09:03:02 +0000 (10:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 May 2010 11:22:42 +0000 (12:22 +0100)
commit2a847513cdecd517f7efc06296c539c3a936cf98
tree53e900b62c497d88524e6020a6b47a492336bd5e
parentaf7dc2281fd3cedc04cb51bcc0887cdaf65c3fcc
ARM: 6107/1: plat-nomadik: use the MTU clocksrc for sched_clock

This provides some serious scheduling for the Nomadik family by
introducing a sched_clock() using the MTU clock source in the
same manner as e.g. OMAP or U300. This type of solutions has been
discussed at no end in the past, however we need this resolution
for making measurements and using HRTimers.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-nomadik/timer.c