diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index cef0849dcfa5..e93e6090cd47 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -125,6 +125,21 @@ static inline void chip_bus_sync_unlock(struct irq_desc *desc) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | /* | 127 | /* |
128 | * Manipulation functions for irq_data.state | ||
129 | */ | ||
130 | static inline void irqd_set_move_pending(struct irq_data *d) | ||
131 | { | ||
132 | d->state_use_accessors |= IRQD_SETAFFINITY_PENDING; | ||
133 | irq_compat_set_move_pending(irq_data_to_desc(d)); | ||
134 | } | ||
135 | |||
136 | static inline void irqd_clr_move_pending(struct irq_data *d) | ||
137 | { | ||
138 | d->state_use_accessors &= ~IRQD_SETAFFINITY_PENDING; | ||
139 | irq_compat_clr_move_pending(irq_data_to_desc(d)); | ||
140 | } | ||
141 | |||
142 | /* | ||
128 | * Debugging printout: | 143 | * Debugging printout: |
129 | */ | 144 | */ |
130 | 145 | ||