Title: [9730] trunk/arch/blackfin/mach-bf561/smp.c: Blackfin: SMP: convert to irq chip functions
- Revision
- 9730
- Author
- vapier
- Date
- 2011-03-18 03:03:26 -0400 (Fri, 18 Mar 2011)
Log Message
Blackfin: SMP: convert to irq chip functions
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf561/smp.c (9729 => 9730)
--- trunk/arch/blackfin/mach-bf561/smp.c 2011-03-18 06:51:58 UTC (rev 9729)
+++ trunk/arch/blackfin/mach-bf561/smp.c 2011-03-18 07:03:26 UTC (rev 9730)
@@ -154,9 +154,13 @@
void __cpuinit bfin_local_timer_setup(void)
{
#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_clockevent_init();
- get_irq_chip(IRQ_CORETMR)->unmask(IRQ_CORETMR);
+
+ chip->irq_unmask(&desc->irq_data);
#else
/* Power down the core timer, just to play safe. */
bfin_write_TCNTL(0);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits