]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mxs: Setup scheduler clock
authorStanislav Meduna <stano@meduna.org>
Thu, 8 Nov 2012 22:39:14 +0000 (23:39 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 12 Nov 2012 01:27:30 +0000 (09:27 +0800)
commit24d763253f32f787518bba14d1a578919c64d398
tree6511c3bd9c432b40d2b398b1a72663fced360cbf
parentdc6608a2035b28323236f47e29c6d0d1a866b9d7
ARM: mxs: Setup scheduler clock

Setup scheduler clock on ARM MXS platforms with a 32-bit timrot
such as i.MX28. This allows the scheduler to use sub-jiffy resolution.

The corresponding change for 16-bit v1 timrots is not possible
at the moment due to rounding issues with clock values wrapping
faster than once per several seconds in the common ARM platform code.

Signed-off-by: Stanislav Meduna <stano@meduna.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/timer.c