projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68fd4f
)
genirq: Add desc->irq_data accessor
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 11 Mar 2011 13:15:35 +0000
(14:15 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 11 Mar 2011 13:15:35 +0000
(14:15 +0100)
We have accessors for all fields in irq_data based on irq_desc, but
not for irq_data itself.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/irqdesc.h
b/include/linux/irqdesc.h
index 9eb9cd3130528a71339eedc5bf464b2a4e0ee2f6..00218371518b0830328f6c089b3d5df0df471d4c 100644
(file)
--- a/
include/linux/irqdesc.h
+++ b/
include/linux/irqdesc.h
@@
-109,6
+109,11
@@
static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node)
#ifdef CONFIG_GENERIC_HARDIRQS
+static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc)
+{
+ return &desc->irq_data;
+}
+
static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc)
{
return desc->irq_data.chip;
This page took
0.024906 seconds
and
5
git commands to generate.