[MIPS] Use USECS_PER_SEC / HZ instead of tick_usec in do_gettimeofday.
commit3d6fc99027615a9db954516f9bef46416b478e14
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 1 Mar 2006 06:16:26 +0000 (1 15:16 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Mar 2006 10:57:26 +0000 (1 10:57 +0000)
treec54286357b46038da89c5c541cfbfcb123b6ed69
parent683e52d091d99d3e85c78466e94fe0525c00716b
[MIPS] Use USECS_PER_SEC / HZ instead of tick_usec in do_gettimeofday.

The 'tick_usec' is USER_HZ period in usec.  do_gettimeofday() should
use kernel HZ value.

Here is a patch for MIPS.  It seems m32r, m68k and sparc have same
problem though their HZ and USER_HZ are same for now.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/time.c