MIPS: Octeon: Scale Octeon2 clocks in octeon_init_cvmcount()
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:47 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:38 +0000 (19:08 +0100)
commit54954a6d6ba1c2f44375d2992d50f1db56a8857d
tree332959aa2067a9b8819cf9ccd8e735abb78d88cb
parentf92a6b0875977132074a696e8d44c95e8472d8ac
MIPS: Octeon: Scale Octeon2 clocks in  octeon_init_cvmcount()

The per-CPU clocks are synchronized from IPD_CLK_COUNT, on cn63XX it must
be scaled by the clock frequency ratio.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1667/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/csrc-octeon.c