diff options
Diffstat (limited to 'arch/mips/lemote/lm2e/setup.c')
-rw-r--r-- | arch/mips/lemote/lm2e/setup.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/mips/lemote/lm2e/setup.c b/arch/mips/lemote/lm2e/setup.c index 0e4d1fa572b5..f34350a4f271 100644 --- a/arch/mips/lemote/lm2e/setup.c +++ b/arch/mips/lemote/lm2e/setup.c | |||
@@ -28,17 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | #include <linux/bootmem.h> | 29 | #include <linux/bootmem.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/io.h> | ||
32 | #include <linux/ioport.h> | ||
33 | #include <linux/interrupt.h> | ||
34 | #include <linux/irq.h> | 31 | #include <linux/irq.h> |
35 | #include <linux/kernel.h> | ||
36 | #include <linux/mc146818rtc.h> | ||
37 | #include <linux/mm.h> | ||
38 | #include <linux/module.h> | ||
39 | #include <linux/pci.h> | ||
40 | #include <linux/tty.h> | ||
41 | #include <linux/types.h> | ||
42 | 32 | ||
43 | #include <asm/bootinfo.h> | 33 | #include <asm/bootinfo.h> |
44 | #include <asm/mc146818-time.h> | 34 | #include <asm/mc146818-time.h> |
@@ -58,7 +48,7 @@ extern void mips_reboot_setup(void); | |||
58 | #define PTR_PAD(p) (p) | 48 | #define PTR_PAD(p) (p) |
59 | #endif | 49 | #endif |
60 | 50 | ||
61 | unsigned long cpu_clock; | 51 | unsigned long cpu_clock_freq; |
62 | unsigned long bus_clock; | 52 | unsigned long bus_clock; |
63 | unsigned int memsize; | 53 | unsigned int memsize; |
64 | unsigned int highmemsize = 0; | 54 | unsigned int highmemsize = 0; |
@@ -71,7 +61,7 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
71 | static void __init loongson2e_time_init(void) | 61 | static void __init loongson2e_time_init(void) |
72 | { | 62 | { |
73 | /* setup mips r4k timer */ | 63 | /* setup mips r4k timer */ |
74 | mips_hpt_frequency = cpu_clock / 2; | 64 | mips_hpt_frequency = cpu_clock_freq / 2; |
75 | } | 65 | } |
76 | 66 | ||
77 | static unsigned long __init mips_rtc_get_time(void) | 67 | static unsigned long __init mips_rtc_get_time(void) |