From: David Daney Date: Thu, 7 Oct 2010 23:03:49 +0000 (-0700) Subject: MIPS: Octeon: Add octeon_get_io_clock_rate() for cn63xx X-Git-Tag: v2.6.37-rc1~38^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e195aa3039c5c4eeb60c415a7a0f3006d5cdcd3b;p=pandora-kernel.git MIPS: Octeon: Add octeon_get_io_clock_rate() for cn63xx Starting with cn63xx Octeon I/O blocks are clocked at a different rate than the CPU. Add a new function octeon_get_io_clock_rate() that yields the I/O clock rate. Also rearrange octeon_get_clock_rate() to get the value from the saved sysinfo structure. Signed-off-by: David Daney Patchwork: http://patchwork.linux-mips.org/patch/1671/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed