aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-06-29 05:24:43 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 13:26:23 -0400
commit0d7012a968d006e277eb0fe20edd7a9b5563c2b7 (patch)
tree1077acc018d78aed6991f8d3913f9a52d431bca1 /kernel
parentcd916d31cc31273eca8a620fae02b7bf7f577559 (diff)
[PATCH] genirq: cleanup: turn ARCH_HAS_IRQ_PER_CPU into CONFIG_IRQ_PER_CPU
Cleanup: change ARCH_HAS_IRQ_PER_CPU into a Kconfig method. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/manage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index ca9b5d36abe8..8389d1817fe8 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -198,7 +198,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
198 if (!(old->flags & new->flags & SA_SHIRQ)) 198 if (!(old->flags & new->flags & SA_SHIRQ))
199 goto mismatch; 199 goto mismatch;
200 200
201#if defined(ARCH_HAS_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) 201#if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ)
202 /* All handlers must agree on per-cpuness */ 202 /* All handlers must agree on per-cpuness */
203 if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU)) 203 if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU))
204 goto mismatch; 204 goto mismatch;
@@ -213,7 +213,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
213 } 213 }
214 214
215 *p = new; 215 *p = new;
216#if defined(ARCH_HAS_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) 216#if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ)
217 if (new->flags & SA_PERCPU_IRQ) 217 if (new->flags & SA_PERCPU_IRQ)
218 desc->status |= IRQ_PER_CPU; 218 desc->status |= IRQ_PER_CPU;
219#endif 219#endif