X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fmips%2Fpmc-sierra%2Fmsp71xx%2Fmsp_time.c;h=cca64e15f57f57d2efcaf59e270d111b9a30df8a;hb=3d2aa66ddaa3008ae2c71bca07eb5e8b08170c4a;hp=f221d4763625f6edb522e14e2bbcb673dfb6a402;hpb=92633b72d18ca4f25de1f28e436a882159491e7e;p=pandora-kernel.git diff --git a/arch/mips/pmc-sierra/msp71xx/msp_time.c b/arch/mips/pmc-sierra/msp71xx/msp_time.c index f221d4763625..cca64e15f57f 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_time.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_time.c @@ -81,13 +81,7 @@ void __init plat_time_init(void) mips_hpt_frequency = cpu_rate/2; } -void __init plat_timer_setup(struct irqaction *irq) +unsigned int __init get_c0_compare_int(void) { -#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 + return MSP_INT_VPE0_TIMER; }