projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f51a87
)
Blackfin: SMP: convert to irq chip functions
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 18 Mar 2011 07:03:23 +0000
(
03:03
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:09 +0000
(
04:01
-0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf561/smp.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf561/smp.c
b/arch/blackfin/mach-bf561/smp.c
index
82b94e1
..
5d68bf6
100644
(file)
--- 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);