ARM: EXYNOS: fix cycle count for periodic mode of clock event timers
authorChanghwan Youn <chaos.youn@samsung.com>
Fri, 9 Mar 2012 23:09:21 +0000 (15:09 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 10 Mar 2012 15:26:59 +0000 (07:26 -0800)
commit4d2e4d7f2c2b1a4382286821a59fa2f4012cb748
tree93f3f8631c16c0a7e6784b12a9df05cfb51faf3a
parent3dbe6d4cacc76100f3166cd824d3ce7a8cef7cef
ARM: EXYNOS: fix cycle count for periodic mode of clock event timers

EXYNOS SOC series use MCT for kernel timer and MCT has two types of
clock event timers, which are mct-comp and mct-tick.
Because the clock rate of each event timer is diffent from the other,
this patch fixes cycles_per_jiffy for each timer's periodic mode.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/mct.c