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
- Lines: 15
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/mips-boards/generic/time.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
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)