projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cff60d
)
genirq: Add setter for AFFINITY_SET in irq_data state
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 28 Mar 2011 15:11:13 +0000
(17:11 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 28 Mar 2011 15:31:40 +0000
(17:31 +0200)
Some archs want to prevent the default affinity being set on their
chips in the reqeust_irq() path.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/irq.h
b/include/linux/irq.h
index 84e1c5832c93fe203d00f1cadfa6da926f72c3e1..34b954e542674357894bd716c41b1853c55e932a 100644
(file)
--- a/
include/linux/irq.h
+++ b/
include/linux/irq.h
@@
-212,6
+212,11
@@
static inline bool irqd_affinity_was_set(struct irq_data *d)
return d->state_use_accessors & IRQD_AFFINITY_SET;
}
+static inline void irqd_mark_affinity_was_set(struct irq_data *d)
+{
+ d->state_use_accessors |= IRQD_AFFINITY_SET;
+}
+
static inline u32 irqd_get_trigger_type(struct irq_data *d)
{
return d->state_use_accessors & IRQD_TRIGGER_MASK;