[MIPS] time: set clock before clockevent_delta2ns() in GT641xx.
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 23 Oct 2007 09:22:50 +0000 (18:22 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:33 +0000 (19:35 +0000)
commit11c03a6faa471ae37f4fd3db79389ae6297b66db
tree356509269b32197192fee1af046b99d196bbcac2
parentc984c87826a6e3b2adae1fab8d5bddcf26af8c78
[MIPS] time: set clock before clockevent_delta2ns() in GT641xx.

clockevent_delta2ns() use the shift and mult value, so
clockevent_set_clock() should be called first.
Pointed out by Atsushi Nemoto.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-gt641xx.c