genirq: Add setter for AFFINITY_SET in irq_data state

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>

+5
+5
include/linux/irq.h
··· 212 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 220 static inline u32 irqd_get_trigger_type(struct irq_data *d) 216 221 { 217 222 return d->state_use_accessors & IRQD_TRIGGER_MASK;