]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource: sh_cmt: compute mult and shift before registration
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:42 +0000 (11:22 -0700)
commit478fc4e6d2e1622d991619583463eb4def24de60
tree2f0130a014e05a83a03eea9f13cf84dd16a64884
parenta214985570a6290d46800fe235f49b2989bfd784
clocksource: sh_cmt: compute mult and shift before registration

commit f4d7c3565c1692c54d9152b52090fe73f0029e37 upstream.

Based on the sh_tmu change in 66f49121ffa41a19c59965b31b046d8368fec3c7
("clocksource: sh_tmu: compute mult and shift before registration").
The same issues impact the sh_cmt driver, so we take the same approach
here.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/clocksource/sh_cmt.c