diff options
author | 2012-07-22 19:50:22 +0200 | |
---|---|---|
committer | 2012-08-16 16:14:50 +0800 | |
commit | 089d03629b04ebe8163905a2398742b426e35085 (patch) | |
tree | 4fbca59c4c1af98d901f8eca8a651801f2025a6f /drivers/net/xen-netfront.c | |
parent | GPIO: gpio-pxa: simplify pxa_gpio_to_irq() and pxa_irq_to_chip() (diff) | |
download | linux-dev-089d03629b04ebe8163905a2398742b426e35085.tar.xz linux-dev-089d03629b04ebe8163905a2398742b426e35085.zip |
ARM: pxa: add devicetree code for irq handling
Properly register on-chip interrupt using the irqdomain logic. The
number of interrupts is taken from the devicetree node. That includes
the following changes:
- cpu_has_ipr() was converted from an inline function to a static bool
variable, so it can be set using the "marvell,intc-priority" property
inside the device node of the tree.
- IRQ_BASE was converted from a macro to a runtime variable so that it
can be initialized dynamically from the DT init code.
- irq_base() now uses pxa_irq_base and just adds an offset.
Hence, there are now no compile-time fixed values used in case of DT
initialization.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions