]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Use USECS_PER_SEC / HZ instead of tick_usec in do_gettimeofday.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 1 Mar 2006 06:16:26 +0000 (15:16 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Mar 2006 19:22:22 +0000 (19:22 +0000)
commit800d11420dfdad3a50630ff424d7782660ad558c
treef13cd691d6f36eb4fbe50f97b9a5ea2156ccfa6c
parent71efa38c0eef581c69c221ceb8645f61d1e93270
[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