commit | a6a912ca43843d43590ce5f1cbc85cbc7ac14bba | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Fri Dec 14 14:54:19 2012 +0900 |
committer | Simon Horman <horms+renesas@verge.net.au> | Wed Mar 13 02:24:36 2013 +0900 |
tree | d160d1be938a9ef05363bc40c83db001cd402e9d | |
parent | 587acb3dd5cf387de1325309e831fd0f560d1bf6 [diff] |
clocksource: sh_cmt: CMCNT and CMCOR register access update Break out the CMCNT and CMCOR register access code into separate 16-bit and 32-bit functions that are hooked into callbacks at init time. This reduces the amount of software calculations happening at runtime. Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: John Stultz <john.stultz@linaro.org> Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>