commit | 5b644c7a218702668d7b610994e7dcbc3d4705d3 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@igel.co.jp> | Tue Apr 28 08:17:54 2009 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Apr 28 18:01:21 2009 +0900 |
tree | 67418dc01db1e5abccbe5b526232eaf6811217e8 | |
parent | c2e0090c668fc99f5be65fd9907da781cb6a2ef5 [diff] |
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>