]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa: fix interrupts number calculation when CONFIG_PXA_HAVE_ISA_IRQS=y
authorMarc Zyngier <maz@misterjones.org>
Thu, 5 Nov 2009 07:10:10 +0000 (08:10 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 13 Nov 2009 08:25:46 +0000 (16:25 +0800)
commit99d664719c53d1837629a707b2b0ee09a5ec1361
tree582b2e2f75cbb4fdaf759e6c9eca9f7aee7319f7
parentf7813ac205bd669904ff30d54e7343b74d68fd3f
[ARM] pxa: fix interrupts number calculation when CONFIG_PXA_HAVE_ISA_IRQS=y

Commit 765bf6c51b2e664617583cea97abc295148b9d5b ([ARM] pxa:
initialize default interrupt priority and use ICHP for IRQ handling)
broke ISA interrupt support on pxa27x/3xx.

In such a case, PXA_IRQ(0) != 0, and the IRQ number computed from
ICHP must be offset by PXA_IRQ(0).

Tested on an Arcom Zeus (pxa270), with both CONFIG_PXA_HAVE_ISA_IRQS
enabled and disabled.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Tested-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/entry-macro.S