Remove dead CONFIG_SIBYTE_BCM1480_PROF
authorChristoph Egger <siccegge@cs.fau.de>
Wed, 9 Jun 2010 11:21:08 +0000 (13:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Jun 2010 16:00:34 +0000 (18:00 +0200)
CONFIG_SIBYTE_BCM1480_PROF doesn't exist in Kconfig, therefore removing all
references for it from the source code.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/mips/sibyte/bcm1480/irq.c

index 044bbe462c2c85fc07f508143f0ec682efc28d79..919d2d58e6fa0522fae175d10c070df95fdc82c4 100644 (file)
@@ -362,19 +362,8 @@ asmlinkage void plat_irq_dispatch(void)
        unsigned int cpu = smp_processor_id();
        unsigned int pending;
 
-#ifdef CONFIG_SIBYTE_BCM1480_PROF
-       /* Set compare to count to silence count/compare timer interrupts */
-       write_c0_compare(read_c0_count());
-#endif
-
        pending = read_c0_cause() & read_c0_status();
 
-#ifdef CONFIG_SIBYTE_BCM1480_PROF
-       if (pending & CAUSEF_IP7)       /* Cpu performance counter interrupt */
-               sbprof_cpu_intr();
-       else
-#endif
-
        if (pending & CAUSEF_IP4)
                do_IRQ(K_BCM1480_INT_TIMER_0 + cpu);
 #ifdef CONFIG_SMP