diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2008-04-23 20:48:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:32 -0400 |
commit | 4247417d8457b326ede001cb74af8570b5aa302b (patch) | |
tree | d52e4b8e5c7a8fe6d353234984d6414c9982b987 /arch/mips/dec | |
parent | 05a96fae433a662e12879b543a6838b6c2129402 (diff) |
[MIPS] add DECstation I/O ASIC clocksource
Add DECstation I/O ASIC clocksource
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec')
-rw-r--r-- | arch/mips/dec/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/dec/time.c b/arch/mips/dec/time.c index 60349062595a..0cbab8d0052b 100644 --- a/arch/mips/dec/time.c +++ b/arch/mips/dec/time.c | |||
@@ -165,7 +165,7 @@ void __init plat_time_init(void) | |||
165 | 165 | ||
166 | if (!cpu_has_counter && IOASIC) | 166 | if (!cpu_has_counter && IOASIC) |
167 | /* For pre-R4k systems we use the I/O ASIC's counter. */ | 167 | /* For pre-R4k systems we use the I/O ASIC's counter. */ |
168 | clocksource_mips.read = dec_ioasic_hpt_read; | 168 | dec_ioasic_clocksource_init(); |
169 | 169 | ||
170 | /* Set up the rate of periodic DS1287 interrupts. */ | 170 | /* Set up the rate of periodic DS1287 interrupts. */ |
171 | CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - __ffs(HZ)), RTC_REG_A); | 171 | CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - __ffs(HZ)), RTC_REG_A); |