]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Alchemy: kill useless time variables
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 27 Mar 2008 19:05:57 +0000 (22:05 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:27 +0000 (17:14 +0100)
commitfe2ef270a1949467fdf14b708ab0cdf1b65cabb0
tree47d1b31417991d82834cba2c19a6bebb32f7e7b2
parent338ca808b6fd00b99bfe374ac09e1ffad50e5e56
[MIPS] Alchemy: kill useless time variables

Since the commit 41a0a42f1b8532951083031a65c56c79c1946907 ([MIPS]
Consolidate all variants of MIPS cp0 timer interrupt handlers) removed the
Alchemy specific timer handler, 'r4k_offset' and 'r4k_cur' variables became
practically useless, so get rid of them at last, renaming cal_r4off()
function into calc_clock() and making it return CPU frequency. Also, make
'no_au1xxx_32khz' variable static...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/dbg_io.c
arch/mips/au1000/common/time.c