path: root/kernel/irq/internals.h
diff options
authorJiang Liu <>2015-06-01 16:05:10 +0800
committerThomas Gleixner <>2015-06-12 16:54:21 +0200
commit7bbf1dd24b17b9ec4f47c43ce4e05bf190745553 (patch)
tree1d3d28e47c6ce5a8e0ea9f66ac816e40a7ed7c36 /kernel/irq/internals.h
parent0a4377de305684c883bf90ad21e3cbdeead70f5c (diff)
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 <> Cc: Konrad Rzeszutek Wilk <> Cc: Tony Luck <> Cc: Bjorn Helgaas <> Cc: Benjamin Herrenschmidt <> Cc: Randy Dunlap <> Cc: Yinghai Lu <> Cc: Borislav Petkov <> Cc: Marc Zyngier <> Link: Signed-off-by: Thomas Gleixner <>
Diffstat (limited to 'kernel/irq/internals.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index df553b0af936..b93d434e70bd 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -59,8 +59,6 @@ enum {
#include "debug.h"
#include "settings.h"
-#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)
extern int __irq_set_trigger(struct irq_desc *desc, unsigned int irq,
unsigned long flags);
extern void __disable_irq(struct irq_desc *desc, unsigned int irq);