diff options
-rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 84e1c5832c93..34b954e54267 100644 --- 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) | |||
212 | return d->state_use_accessors & IRQD_AFFINITY_SET; | 212 | return d->state_use_accessors & IRQD_AFFINITY_SET; |
213 | } | 213 | } |
214 | 214 | ||
215 | static inline void irqd_mark_affinity_was_set(struct irq_data *d) | ||
216 | { | ||
217 | d->state_use_accessors |= IRQD_AFFINITY_SET; | ||
218 | } | ||
219 | |||
215 | static inline u32 irqd_get_trigger_type(struct irq_data *d) | 220 | static inline u32 irqd_get_trigger_type(struct irq_data *d) |
216 | { | 221 | { |
217 | return d->state_use_accessors & IRQD_TRIGGER_MASK; | 222 | return d->state_use_accessors & IRQD_TRIGGER_MASK; |