diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-08 11:22:00 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:20 -0500 |
commit | 2bdd10558c8d93009cb6c32ce9e30800fbb08add (patch) | |
tree | f25b36c02faa8709628e2dbb93748f370678bb52 /kernel/irq/internals.h | |
parent | bce43032ad79fae0ce5b6174ce1321e643ceb54b (diff) |
genirq: Move IRQ_AFFINITY_SET to core
Keep status in sync until last abuser is gone.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index a80b44d2735e..6776453c454c 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -150,3 +150,7 @@ static inline void irqd_set(struct irq_data *d, unsigned int mask) | |||
150 | d->state_use_accessors |= mask; | 150 | d->state_use_accessors |= mask; |
151 | } | 151 | } |
152 | 152 | ||
153 | static inline bool irqd_has_set(struct irq_data *d, unsigned int mask) | ||
154 | { | ||
155 | return d->state_use_accessors & mask; | ||
156 | } | ||