[MIPS] Fixup migration to GENERIC_TIME
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 23 Oct 2006 15:21:27 +0000 (00:21 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Oct 2006 20:13:23 +0000 (20:13 +0000)
commit16b7b2ac0148e839da86af8747b6fa4aad43a9b7
tree93912ae2e9c64f71a8cca028677fd918b9edf0fa
parent70e46f48cb5933119712ee27945309a4bfc98282
[MIPS] Fixup migration to GENERIC_TIME

Since we already moved to GENERIC_TIME, we should implement alternatives
of old do_gettimeoffset routines to get sub-jiffies resolution from
gettimeofday().  This patch includes:

 * MIPS clocksource support (based on works by Manish Lachwani).
 * remove unused gettimeoffset routines and related codes.
 * remove unised 64bit do_div64_32().
 * simplify mips_hpt_init. (no argument needed, __init tag)
 * simplify c0_hpt_timer_init. (no need to write to c0_count)
 * remove some hpt_init routines.
 * mips_hpt_mask variable to specify bitmask of hpt value.
 * convert jmr3927_do_gettimeoffset to jmr3927_hpt_read.
 * convert ip27_do_gettimeoffset to ip27_hpt_read.
 * convert bcm1480_do_gettimeoffset to bcm1480_hpt_read.
 * simplify sb1250 hpt functions. (no need to subtract and shift)

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 files changed:
Documentation/mips/time.README
arch/mips/au1000/common/time.c
arch/mips/dec/time.c
arch/mips/jmr3927/rbhma3100/setup.c
arch/mips/kernel/time.c
arch/mips/philips/pnx8550/common/time.c
arch/mips/pmc-sierra/yosemite/smp.c
arch/mips/sgi-ip27/ip27-timer.c
arch/mips/sibyte/bcm1480/time.c
arch/mips/sibyte/sb1250/time.c
include/asm-mips/div64.h
include/asm-mips/sibyte/sb1250.h
include/asm-mips/time.h