]> err.no Git - linux-2.6/commit
IRQ: check for PERCPU flag only when adding first irqaction
authorAhmed S. Darwish <darwish.07@gmail.com>
Tue, 8 May 2007 07:27:55 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:06 +0000 (11:15 -0700)
commitf75d222b836f7febfab0954c7612b23059d748cb
tree229ff362a000daca8aa4c45c3c7216efdb4bfb94
parent3367b994fe4f131ab1240600682a1981de7cad0c
IRQ: check for PERCPU flag only when adding first irqaction

An irqaction structure won't be added to an IRQ descriptor irqaction list if
it doesn't agree with other irqactions on the IRQF_PERCPU flag.  Don't check
for this flag to change IRQ descriptor `status' for every irqaction added to
the list, Doing the check only for the first irqaction added is enough.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/manage.c