summaryrefslogtreecommitdiff
path: root/drivers/clocksource/scx200_hrt.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-28 08:17:54 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-04-28 09:01:21 (GMT)
commit5b644c7a218702668d7b610994e7dcbc3d4705d3 (patch)
tree67418dc01db1e5abccbe5b526232eaf6811217e8 /drivers/clocksource/scx200_hrt.c
parentc2e0090c668fc99f5be65fd9907da781cb6a2ef5 (diff)
downloadlinux-fsl-qoriq-5b644c7a218702668d7b610994e7dcbc3d4705d3.tar.xz
clocksource: improve sh_cmt clocksource overflow handling
This patch improves the sh_cmt clocksource handling. Currently the counter value is ignored in the case of overflow. With this patch the overflow flag is read before and after reading the counter, removing any counter value and overflow flag mismatch issues. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/clocksource/scx200_hrt.c')
0 files changed, 0 insertions, 0 deletions