aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip27
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r--arch/mips/sgi-ip27/ip27-timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c
index e5441c3a0b07..7d361726bbfb 100644
--- a/arch/mips/sgi-ip27/ip27-timer.c
+++ b/arch/mips/sgi-ip27/ip27-timer.c
@@ -223,14 +223,14 @@ void __init plat_timer_setup(struct irqaction *irq)
223 setup_irq(irqno, &rt_irqaction); 223 setup_irq(irqno, &rt_irqaction);
224} 224}
225 225
226static unsigned int ip27_hpt_read(void) 226static cycle_t ip27_hpt_read(void)
227{ 227{
228 return REMOTE_HUB_L(cputonasid(0), PI_RT_COUNT); 228 return REMOTE_HUB_L(cputonasid(0), PI_RT_COUNT);
229} 229}
230 230
231void __init ip27_time_init(void) 231void __init ip27_time_init(void)
232{ 232{
233 mips_hpt_read = ip27_hpt_read; 233 clocksource_mips.read = ip27_hpt_read;
234 mips_hpt_frequency = CYCLES_PER_SEC; 234 mips_hpt_frequency = CYCLES_PER_SEC;
235 xtime.tv_sec = get_m48t35_time(); 235 xtime.tv_sec = get_m48t35_time();
236 xtime.tv_nsec = 0; 236 xtime.tv_nsec = 0;