From 25b4397de96ab979e3d42c7df7c99e30622972cc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 28 Mar 2011 17:11:13 +0200 Subject: [PATCH] --- yaml --- r: 243222 b: refs/heads/master c: ee38c04b58983a236b43bae71b2415d38bceaf75 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/irq.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a84e47860622..affcc3467a7b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9cff60dfc3d54b60bc069627cee5624bfaa3f823 +refs/heads/master: ee38c04b58983a236b43bae71b2415d38bceaf75 diff --git a/trunk/include/linux/irq.h b/trunk/include/linux/irq.h index 84e1c5832c93..34b954e54267 100644 --- a/trunk/include/linux/irq.h +++ b/trunk/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;