- irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags

has been removed from the -mm tree.  Its filename is

     irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: IRQ: Use SA_PERCPU_IRQ, not IRQ_PER_CPU, for irqaction.flags
From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>

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>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/irq/manage.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN kernel/irq/manage.c~irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags kernel/irq/manage.c
--- a/kernel/irq/manage.c~irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags
+++ a/kernel/irq/manage.c
@@ -236,7 +236,8 @@ int setup_irq(unsigned int irq, struct i
 
 #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
 
_

Patches currently in -mm which might be from bjorn.helgaas@xxxxxx are

origin.patch
pnpacpi-reject-acpi_producer-resources.patch
pnpacpi-support-shareable-interrupts.patch
serial-allow-shared-8250_pnp-interrupts.patch
2.6-sony_acpi4.patch
git-klibc.patch
e100-disable-interrupts-at-boot.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux