aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lemote/lm2e/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lemote/lm2e/setup.c')
-rw-r--r--arch/mips/lemote/lm2e/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lemote/lm2e/setup.c b/arch/mips/lemote/lm2e/setup.c
index 0e4d1fa572b5..dbb801678fd9 100644
--- a/arch/mips/lemote/lm2e/setup.c
+++ b/arch/mips/lemote/lm2e/setup.c
@@ -58,7 +58,7 @@ extern void mips_reboot_setup(void);
58#define PTR_PAD(p) (p) 58#define PTR_PAD(p) (p)
59#endif 59#endif
60 60
61unsigned long cpu_clock; 61unsigned long cpu_clock_freq;
62unsigned long bus_clock; 62unsigned long bus_clock;
63unsigned int memsize; 63unsigned int memsize;
64unsigned int highmemsize = 0; 64unsigned int highmemsize = 0;
@@ -71,7 +71,7 @@ void __init plat_timer_setup(struct irqaction *irq)
71static void __init loongson2e_time_init(void) 71static void __init loongson2e_time_init(void)
72{ 72{
73 /* setup mips r4k timer */ 73 /* setup mips r4k timer */
74 mips_hpt_frequency = cpu_clock / 2; 74 mips_hpt_frequency = cpu_clock_freq / 2;
75} 75}
76 76
77static unsigned long __init mips_rtc_get_time(void) 77static unsigned long __init mips_rtc_get_time(void)