patch-2.4.25 linux-2.4.25/arch/mips/mips-boards/generic/time.c

Next file: linux-2.4.25/arch/mips/mips-boards/malta/malta_int.c
Previous file: linux-2.4.25/arch/mips/mips-boards/atlas/atlas_setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/mips/mips-boards/generic/time.c linux-2.4.25/arch/mips/mips-boards/generic/time.c
@@ -102,12 +102,12 @@
 	while (CMOS_READ(RTC_REG_A) & RTC_UIP);
 	while (!(CMOS_READ(RTC_REG_A) & RTC_UIP));
 
-	mips_counter_frequency = read_c0_count();
+	mips_hpt_frequency = read_c0_count();
 
 	/* restore interrupts */
 	local_irq_restore(flags);
 
-	return (mips_counter_frequency / HZ);
+	return (mips_hpt_frequency / HZ);
 }
 
 unsigned long __init mips_rtc_get_time(void)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)