diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-10-19 12:26:25 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-19 13:15:58 -0400 |
commit | 1d9ef3ecd7fa2ca28064f03614f37409100c0527 (patch) | |
tree | 36ec8b13f3544fa6fbaa8333435fd7b9161c5a14 /arch/mips/pmc-sierra | |
parent | d527eef5b7f151320921f0ff7a88297cefc5be72 (diff) |
[MIPS] Kill duplicated setup_irq() for cp0 timer
Also many plat_timer_setup() can be killed too.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmc-sierra')
-rw-r--r-- | arch/mips/pmc-sierra/msp71xx/msp_time.c | 3 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/setup.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_time.c b/arch/mips/pmc-sierra/msp71xx/msp_time.c index f221d4763625..7cfeda5a651b 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_time.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_time.c | |||
@@ -86,8 +86,5 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
86 | #ifdef CONFIG_IRQ_MSP_CIC | 86 | #ifdef CONFIG_IRQ_MSP_CIC |
87 | /* we are using the vpe0 counter for timer interrupts */ | 87 | /* we are using the vpe0 counter for timer interrupts */ |
88 | setup_irq(MSP_INT_VPE0_TIMER, irq); | 88 | setup_irq(MSP_INT_VPE0_TIMER, irq); |
89 | #else | ||
90 | /* we are using the mips counter for timer interrupts */ | ||
91 | setup_irq(MSP_INT_TIMER, irq); | ||
92 | #endif | 89 | #endif |
93 | } | 90 | } |
diff --git a/arch/mips/pmc-sierra/yosemite/setup.c b/arch/mips/pmc-sierra/yosemite/setup.c index 015fcc363dc0..855977ca51cd 100644 --- a/arch/mips/pmc-sierra/yosemite/setup.c +++ b/arch/mips/pmc-sierra/yosemite/setup.c | |||
@@ -137,11 +137,6 @@ int rtc_mips_set_time(unsigned long tim) | |||
137 | return 0; | 137 | return 0; |
138 | } | 138 | } |
139 | 139 | ||
140 | void __init plat_timer_setup(struct irqaction *irq) | ||
141 | { | ||
142 | setup_irq(7, irq); | ||
143 | } | ||
144 | |||
145 | void __init plat_time_init(void) | 140 | void __init plat_time_init(void) |
146 | { | 141 | { |
147 | mips_hpt_frequency = cpu_clock_freq / 2; | 142 | mips_hpt_frequency = cpu_clock_freq / 2; |