[PATCH] IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags
- From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
- Date: Fri, 30 Jun 2006 12:55:37 -0600
IRQ_PER_CPU is a bit in the struct irq_desc "status" field, not
in the struct irqaction "flags", so the previous code checked the
wrong bit.
SA_PERCPU_IRQ is only used by drivers/char/mmtimer.c for SGI ia64 boxes.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Index: work-mm7/kernel/irq/manage.c
===================================================================
--- work-mm7.orig/kernel/irq/manage.c 2006-06-30 11:52:21.000000000 -0600
+++ work-mm7/kernel/irq/manage.c 2006-06-30 11:59:13.000000000 -0600
@@ -237,7 +237,8 @@
#if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ)
/* All handlers must agree on per-cpuness */
- if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU))
+ if ((old->flags & SA_PERCPU_IRQ) !=
+ (new->flags & SA_PERCPU_IRQ))
goto mismatch;
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags
- From: Thomas Gleixner
- Re: [PATCH] IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags
- Prev by Date: Re: 2.6.17-rt4 x86_64 unknown symbol monotonic_clock
- Next by Date: Re: kernel module debugging question
- Previous by thread: [PATCH] IRQ: warning message cleanup
- Next by thread: Re: [PATCH] IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags
- Index(es):
Relevant Pages
|
|