summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/smp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-18 08:03:23 +0100
committerMike Frysinger <vapier@gentoo.org>2011-03-18 09:01:09 +0100
commit91796c235dcefefde38732e1a969afc5c3d63ae6 (patch)
tree3047cdb088aff4a1a9b405195217f7e372f3f567 /arch/blackfin/mach-bf561/smp.c
parentBlackfin: use accessor functions in show_interrupts() (diff)
downloadlinux-91796c235dcefefde38732e1a969afc5c3d63ae6.tar.xz
linux-91796c235dcefefde38732e1a969afc5c3d63ae6.zip
Blackfin: SMP: convert to irq chip functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/smp.c')
-rw-r--r--arch/blackfin/mach-bf561/smp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c
index 82b94e137886..5d68bf613b0b 100644
--- a/arch/blackfin/mach-bf561/smp.c
+++ b/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)
{
#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);