diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-18 03:03:23 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-18 04:01:09 -0400 |
commit | 91796c235dcefefde38732e1a969afc5c3d63ae6 (patch) | |
tree | 3047cdb088aff4a1a9b405195217f7e372f3f567 /arch/blackfin | |
parent | 9f51a874ced2106947e391d85abdf1f22c94f018 (diff) |
Blackfin: SMP: convert to irq chip functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf561/smp.c | 6 |
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) | |||
154 | void __cpuinit bfin_local_timer_setup(void) | 154 | void __cpuinit bfin_local_timer_setup(void) |
155 | { | 155 | { |
156 | #if defined(CONFIG_TICKSOURCE_CORETMR) | 156 | #if defined(CONFIG_TICKSOURCE_CORETMR) |
157 | struct irq_chip *chip = get_irq_chip(IRQ_CORETMR); | ||
158 | struct irq_desc *desc = irq_to_desc(IRQ_CORETMR); | ||
159 | |||
157 | bfin_coretmr_init(); | 160 | bfin_coretmr_init(); |
158 | bfin_coretmr_clockevent_init(); | 161 | bfin_coretmr_clockevent_init(); |
159 | get_irq_chip(IRQ_CORETMR)->unmask(IRQ_CORETMR); | 162 | |
163 | chip->irq_unmask(&desc->irq_data); | ||
160 | #else | 164 | #else |
161 | /* Power down the core timer, just to play safe. */ | 165 | /* Power down the core timer, just to play safe. */ |
162 | bfin_write_TCNTL(0); | 166 | bfin_write_TCNTL(0); |