OSDN Git Service

irq_domain/microblaze: Convert microblaze to use irq_domains
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 26 Jan 2012 21:10:13 +0000 (14:10 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 13:11:24 +0000 (06:11 -0700)
commit2462bacd0334d918f9fcd79fc59c403b76b36f8a
treebf3750e5393c1ea27b529c42b0b5721d9560b9e5
parentff8c3ab8161d0df52858966e0347e05791da40df
irq_domain/microblaze: Convert microblaze to use irq_domains

This patch converts Microblaze to use the irq_domain remapper and get
away from hard coding the offset between hwirq number and the linux irq
number space.  This also paves the way for multiple interrupt controllers.

v2: Don't enable SPARSE_IRQ and keep NR_IRQS set to 33

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: John Williams <john.williams@petalogix.com>
Cc: John Linn <john.linn@xilinx.com>
arch/microblaze/Kconfig
arch/microblaze/include/asm/hardirq.h
arch/microblaze/include/asm/irq.h
arch/microblaze/kernel/intc.c
arch/microblaze/kernel/irq.c