irq_domain: Remove 'new' irq_domain in favour of the ppc one
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 14 Feb 2012 21:06:57 +0000 (14:06 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 13:11:23 +0000 (06:11 -0700)
commit75294957be1dee7d22dd7d90bd31334ba410e836
treeafa8e2905af88ceeba2dccb50b56c42568e18ab9
parent5769089ac72569d024817270ab79fdf0b9046dde
irq_domain: Remove 'new' irq_domain in favour of the ppc one

This patch removes the simplistic implementation of irq_domains and enables
the powerpc infrastructure for all irq_domain users.  The powerpc
infrastructure includes support for complex mappings between Linux and
hardware irq numbers, and can manage allocation of irq_descs.

This patch also converts the few users of irq_domain_add()/irq_domain_del()
to call irq_domain_add_legacy() instead.

v3: Fix bug that set up too many irqs in translation range.
v2: Fix removal of irq_alloc_descs() call in gic driver

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Milton Miller <miltonm@bga.com>
Tested-by: Olof Johansson <olof@lixom.net>
arch/arm/common/gic.c
arch/arm/common/vic.c
arch/arm/include/asm/hardware/gic.h
arch/arm/include/asm/hardware/vic.h
arch/arm/mach-exynos/common.c
arch/arm/mach-versatile/core.c
drivers/mfd/twl-core.c
include/linux/irqdomain.h
kernel/irq/irqdomain.c