소스 검색

Blackfin: SMP: convert to irq chip functions

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 년 전
부모
커밋
91796c235d
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      arch/blackfin/mach-bf561/smp.c

+ 5 - 1
arch/blackfin/mach-bf561/smp.c

@@ -154,9 +154,13 @@ void platform_clear_ipi(unsigned int cpu, int irq)
 void __cpuinit bfin_local_timer_setup(void)
 void __cpuinit bfin_local_timer_setup(void)
 {
 {
 #if defined(CONFIG_TICKSOURCE_CORETMR)
 #if defined(CONFIG_TICKSOURCE_CORETMR)
+	struct irq_chip *chip = get_irq_chip(IRQ_CORETMR);
+	struct irq_desc *desc = irq_to_desc(IRQ_CORETMR);
+
 	bfin_coretmr_init();
 	bfin_coretmr_init();
 	bfin_coretmr_clockevent_init();
 	bfin_coretmr_clockevent_init();
-	get_irq_chip(IRQ_CORETMR)->unmask(IRQ_CORETMR);
+
+	chip->irq_unmask(&desc->irq_data);
 #else
 #else
 	/* Power down the core timer, just to play safe. */
 	/* Power down the core timer, just to play safe. */
 	bfin_write_TCNTL(0);
 	bfin_write_TCNTL(0);