All of lore.kernel.org
 help / color / mirror / Atom feed
* + small-irq-management-simplification.patch added to -mm tree
@ 2007-02-14 23:26 akpm
  2007-02-16 15:24 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-02-14 23:26 UTC (permalink / raw)
  To: mm-commits; +Cc: jbeulich, mingo, tglx


The patch titled
     small irq management simplification
has been added to the -mm tree.  Its filename is
     small-irq-management-simplification.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: small irq management simplification
From: "Jan Beulich" <jbeulich@novell.com>

Use mask_ack_irq() where possible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/irq/chip.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -puN kernel/irq/chip.c~small-irq-management-simplification kernel/irq/chip.c
--- a/kernel/irq/chip.c~small-irq-management-simplification
+++ a/kernel/irq/chip.c
@@ -565,10 +565,8 @@ __set_irq_handler(unsigned int irq, irq_
 
 	/* Uninstall? */
 	if (handle == handle_bad_irq) {
-		if (desc->chip != &no_irq_chip) {
-			desc->chip->mask(irq);
-			desc->chip->ack(irq);
-		}
+		if (desc->chip != &no_irq_chip)
+			mask_ack_irq(desc, irq);
 		desc->status |= IRQ_DISABLED;
 		desc->depth = 1;
 	}
_

Patches currently in -mm which might be from jbeulich@novell.com are

origin.patch
broken-config_compat_vdso-on-i386.patch
x86-fatal-kernel-faults-should-update-thread-struct.patch
i386-adjustments-to-page-table-dump-during-oops-v3.patch
small-irq-management-simplification.patch
x86-mtrr-range-check-correction.patch
x86-consolidate-smp_send_stop.patch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-16 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14 23:26 + small-irq-management-simplification.patch added to -mm tree akpm
2007-02-16 15:24 ` Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.