patch-2.4.25 linux-2.4.25/arch/mips/lasat/setup.c
Next file: linux-2.4.25/arch/mips/lasat/sysctl.c
Previous file: linux-2.4.25/arch/mips/lasat/prom.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/lasat/setup.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/mips/lasat/setup.c linux-2.4.25/arch/mips/lasat/setup.c
@@ -138,7 +138,7 @@
static void lasat_time_init(void)
{
- mips_counter_frequency = lasat_board_info.li_cpu_hz / 2;
+ mips_hpt_frequency = lasat_board_info.li_cpu_hz / 2;
}
static void lasat_timer_setup(struct irqaction *irq)
@@ -146,7 +146,7 @@
write_c0_compare(
read_c0_count() +
- mips_counter_frequency / HZ);
+ mips_hpt_frequency / HZ);
change_c0_status(ST0_IM, IE_IRQ0 | IE_IRQ5);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)