genirq: Enhance irq_data_to_desc() to support hierarchy irqdomain
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 1 Jun 2015 08:05:10 +0000 (16:05 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 12 Jun 2015 14:54:21 +0000 (16:54 +0200)
commit7bbf1dd24b17b9ec4f47c43ce4e05bf190745553
tree1d3d28e47c6ce5a8e0ea9f66ac816e40a7ed7c36
parent0a4377de305684c883bf90ad21e3cbdeead70f5c
genirq: Enhance irq_data_to_desc() to support hierarchy irqdomain

For irq associated with hierarchy irqdomains, there will be multiple
irq_datas for one irq_desc. So enhance irq_data_to_desc() to support
hierarchy irqdomain. Also export irq_data_to_desc() as an inline
function for later reuse.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1433145945-789-2-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h
kernel/irq/internals.h