]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/clocksource/mxs_timer.c
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)
commit67948adad178a041cd545c3f9b2bd077b1c5d7a1
tree6511c3bd9c432b40d2b398b1a72663fced360cbf
parent24196d5c597272b1e5c57903f2e3c7996e607117
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