summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-common/ints-priority-dc.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-07-12 16:39:29 +0800
committerBryan Wu <bryan.wu@analog.com>2007-07-12 16:39:29 +0800
commite3f2300036b5e0f60cb64063a9686361b6be8555 (patch)
treedbb97801ef04e8a65515cfd3fdf29e594dc0bb29 /arch/blackfin/mach-common/ints-priority-dc.c
parent34e0fc89bdc1e6f50032dc43ed23167f5dbad6da (diff)
downloadlwn-e3f2300036b5e0f60cb64063a9686361b6be8555.tar.gz
lwn-e3f2300036b5e0f60cb64063a9686361b6be8555.zip
Blackfin arch: Some memory and code optimizations - Fix SYS_IRQS
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority-dc.c')
-rw-r--r--arch/blackfin/mach-common/ints-priority-dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/ints-priority-dc.c b/arch/blackfin/mach-common/ints-priority-dc.c
index ceb61d95d443..7977c2c40867 100644
--- a/arch/blackfin/mach-common/ints-priority-dc.c
+++ b/arch/blackfin/mach-common/ints-priority-dc.c
@@ -396,7 +396,7 @@ int __init init_arch_irq(void)
bfin_write_EVT15(evt_system_call);
CSYNC();
- for (irq = 0; irq < SYS_IRQS; irq++) {
+ for (irq = 0; irq <= SYS_IRQS; irq++) {
if (irq <= IRQ_CORETMR)
set_irq_chip(irq, &bf561_core_irqchip);
else