diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-10-20 01:26:25 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-19 18:15:58 +0100 |
commit | 1d9ef3ecd7fa2ca28064f03614f37409100c0527 (patch) | |
tree | 36ec8b13f3544fa6fbaa8333435fd7b9161c5a14 /arch/mips/pmc-sierra | |
parent | d527eef5b7f151320921f0ff7a88297cefc5be72 (diff) | |
download | op-kernel-dev-1d9ef3ecd7fa2ca28064f03614f37409100c0527.zip op-kernel-dev-1d9ef3ecd7fa2ca28064f03614f37409100c0527.tar.gz |
[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 f221d47..7cfeda5 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) #ifdef CONFIG_IRQ_MSP_CIC /* we are using the vpe0 counter for timer interrupts */ setup_irq(MSP_INT_VPE0_TIMER, irq); -#else - /* we are using the mips counter for timer interrupts */ - setup_irq(MSP_INT_TIMER, irq); #endif } diff --git a/arch/mips/pmc-sierra/yosemite/setup.c b/arch/mips/pmc-sierra/yosemite/setup.c index 015fcc3..855977c 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) return 0; } -void __init plat_timer_setup(struct irqaction *irq) -{ - setup_irq(7, irq); -} - void __init plat_time_init(void) { mips_hpt_frequency = cpu_clock_freq / 2; |