patch-2.4.25 linux-2.4.25/arch/mips/ddb5xxx/ddb5477/setup.c
Next file: linux-2.4.25/arch/mips/dec/setup.c
Previous file: linux-2.4.25/arch/mips/ddb5xxx/ddb5476/setup.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/mips/ddb5xxx/ddb5477/setup.c
- Orig date:
2003-08-25 04:44:39.000000000 -0700
diff -urN linux-2.4.24/arch/mips/ddb5xxx/ddb5477/setup.c linux-2.4.25/arch/mips/ddb5xxx/ddb5477/setup.c
@@ -138,11 +138,11 @@
bus_frequency = detect_bus_frequency(rtc_base);
}
- /* mips_counter_frequency is 1/2 of the cpu core freq */
+ /* mips_hpt_frequency is 1/2 of the cpu core freq */
i = (read_c0_config() >> 28 ) & 7;
if ((current_cpu_data.cputype == CPU_R5432) && (i == 3))
i = 4;
- mips_counter_frequency = bus_frequency*(i+4)/4;
+ mips_hpt_frequency = bus_frequency*(i+4)/4;
}
extern int setup_irq(unsigned int irq, struct irqaction *irqaction);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)