From: Christoph Egger Date: Wed, 9 Jun 2010 11:21:08 +0000 (+0200) Subject: Remove dead CONFIG_SIBYTE_BCM1480_PROF X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=22c1d8b4f8f04882046ebe592f9a9eaea443cb45;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Remove dead CONFIG_SIBYTE_BCM1480_PROF CONFIG_SIBYTE_BCM1480_PROF doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger Signed-off-by: Jiri Kosina --- diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index 044bbe462c2c..919d2d58e6fa 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c @@ -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