diff options
author | Graf Yang <graf.yang@analog.com> | 2009-05-15 07:01:59 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-12 06:11:37 -0400 |
commit | 1fa9be72b558c39459f98835eb86dbb4ef4da30b (patch) | |
tree | f0b71c7b7a3639285c64e3f3cbc449c3ff9eee3b /arch/blackfin/mach-bf561 | |
parent | 555487bbb63f527e63fecbff48c86e2c07ce5024 (diff) |
Blackfin: add support for gptimer0 as a tick source
For systems where the core cycles are not a usable tick source (like SMP
or cycles gets updated), enable gptimer0 as an alternative.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/Kconfig | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/smp.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/Kconfig b/arch/blackfin/mach-bf561/Kconfig index 6965dd59af4c..cb9743641511 100644 --- a/arch/blackfin/mach-bf561/Kconfig +++ b/arch/blackfin/mach-bf561/Kconfig | |||
@@ -125,6 +125,7 @@ config IRQ_DMA2_11 | |||
125 | default 9 | 125 | default 9 |
126 | config IRQ_TIMER0 | 126 | config IRQ_TIMER0 |
127 | int "TIMER 0 Interrupt" | 127 | int "TIMER 0 Interrupt" |
128 | default 7 if TICKSOURCE_GPTMR0 | ||
128 | default 8 | 129 | default 8 |
129 | config IRQ_TIMER1 | 130 | config IRQ_TIMER1 |
130 | int "TIMER 1 Interrupt" | 131 | int "TIMER 1 Interrupt" |
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 4ea13d2eb872..8c10701c251f 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
@@ -133,7 +133,7 @@ void __init platform_request_ipi(irq_handler_t handler) | |||
133 | int ret; | 133 | int ret; |
134 | 134 | ||
135 | ret = request_irq(IRQ_SUPPLE_0, handler, IRQF_DISABLED, | 135 | ret = request_irq(IRQ_SUPPLE_0, handler, IRQF_DISABLED, |
136 | "SMP interrupt", handler); | 136 | "Supplemental Interrupt0", handler); |
137 | if (ret) | 137 | if (ret) |
138 | panic("Cannot request supplemental interrupt 0 for IPI service"); | 138 | panic("Cannot request supplemental interrupt 0 for IPI service"); |
139 | } | 139 | } |