diff options
Diffstat (limited to 'arch/mips/sibyte/bcm1480/irq.c')
-rw-r--r-- | arch/mips/sibyte/bcm1480/irq.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 59cfe2659771..373fbbc8425c 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c | |||
@@ -347,19 +347,8 @@ asmlinkage void plat_irq_dispatch(void) | |||
347 | unsigned int cpu = smp_processor_id(); | 347 | unsigned int cpu = smp_processor_id(); |
348 | unsigned int pending; | 348 | unsigned int pending; |
349 | 349 | ||
350 | #ifdef CONFIG_SIBYTE_BCM1480_PROF | ||
351 | /* Set compare to count to silence count/compare timer interrupts */ | ||
352 | write_c0_compare(read_c0_count()); | ||
353 | #endif | ||
354 | |||
355 | pending = read_c0_cause() & read_c0_status(); | 350 | pending = read_c0_cause() & read_c0_status(); |
356 | 351 | ||
357 | #ifdef CONFIG_SIBYTE_BCM1480_PROF | ||
358 | if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */ | ||
359 | sbprof_cpu_intr(); | ||
360 | else | ||
361 | #endif | ||
362 | |||
363 | if (pending & CAUSEF_IP4) | 352 | if (pending & CAUSEF_IP4) |
364 | do_IRQ(K_BCM1480_INT_TIMER_0 + cpu); | 353 | do_IRQ(K_BCM1480_INT_TIMER_0 + cpu); |
365 | #ifdef CONFIG_SMP | 354 | #ifdef CONFIG_SMP |