diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 704136138dc7..2445d2b3d5dc 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -185,7 +185,7 @@ struct irq_desc { | |||
185 | cpumask_t affinity; | 185 | cpumask_t affinity; |
186 | unsigned int cpu; | 186 | unsigned int cpu; |
187 | #endif | 187 | #endif |
188 | #if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) | 188 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
189 | cpumask_t pending_mask; | 189 | cpumask_t pending_mask; |
190 | #endif | 190 | #endif |
191 | #ifdef CONFIG_PROC_FS | 191 | #ifdef CONFIG_PROC_FS |
@@ -241,13 +241,13 @@ extern int setup_irq(unsigned int irq, struct irqaction *new); | |||
241 | 241 | ||
242 | #ifdef CONFIG_SMP | 242 | #ifdef CONFIG_SMP |
243 | 243 | ||
244 | #if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE) | 244 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
245 | 245 | ||
246 | void set_pending_irq(unsigned int irq, cpumask_t mask); | 246 | void set_pending_irq(unsigned int irq, cpumask_t mask); |
247 | void move_native_irq(int irq); | 247 | void move_native_irq(int irq); |
248 | void move_masked_irq(int irq); | 248 | void move_masked_irq(int irq); |
249 | 249 | ||
250 | #else /* CONFIG_GENERIC_PENDING_IRQ || CONFIG_IRQBALANCE */ | 250 | #else /* CONFIG_GENERIC_PENDING_IRQ */ |
251 | 251 | ||
252 | static inline void move_irq(int irq) | 252 | static inline void move_irq(int irq) |
253 | { | 253 | { |
@@ -274,14 +274,6 @@ static inline void set_pending_irq(unsigned int irq, cpumask_t mask) | |||
274 | 274 | ||
275 | #endif /* CONFIG_SMP */ | 275 | #endif /* CONFIG_SMP */ |
276 | 276 | ||
277 | #ifdef CONFIG_IRQBALANCE | ||
278 | extern void set_balance_irq_affinity(unsigned int irq, cpumask_t mask); | ||
279 | #else | ||
280 | static inline void set_balance_irq_affinity(unsigned int irq, cpumask_t mask) | ||
281 | { | ||
282 | } | ||
283 | #endif | ||
284 | |||
285 | extern int no_irq_affinity; | 277 | extern int no_irq_affinity; |
286 | 278 | ||
287 | static inline int irq_balancing_disabled(unsigned int irq) | 279 | static inline int irq_balancing_disabled(unsigned int irq) |