diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:52 -0400 |
commit | 8b8e8c1bf7275eca859fe551dfa484134eaf013b (patch) | |
tree | 3e2f950a8f34f419a59a31ddd12e9d7331911e3d /include/linux/irq.h | |
parent | 6d50bc26836e16a9589e0b128d527c29e30d722a (diff) |
x86: remove irqbalance in kernel for 32 bit
This has been deprecated for years, the user space irqbalanced utility
works better with numa, has configurable policies, etc...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmai.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 704136138dc..2445d2b3d5d 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) |