]> git.baikalelectronics.ru Git - kernel.git/commit
irq_domain: Create common xlate functions that device drivers can use
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 26 Jan 2012 18:26:52 +0000 (11:26 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 13:11:23 +0000 (06:11 -0700)
commit292700ef97ad8778a118ae2ea15186771d285444
tree73f8f3066e09eb7bb427c51fe2711458ac9220a2
parent4f0b89ff2b42f3ab8c5de9c7ca40b0d9e8c01d59
irq_domain: Create common xlate functions that device drivers can use

Rather than having each interrupt controller driver creating its own barely
unique .xlate function for irq_domain, create a library of translators which
any driver can use directly.

v5: - Remove irq_domain_xlate_pci().  It was incorrect.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Milton Miller <miltonm@bga.com>
Tested-by: Olof Johansson <olof@lixom.net>
include/linux/irqdomain.h
kernel/irq/irqdomain.c