]> git.baikalelectronics.ru Git - kernel.git/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)
commit4d09af06c9e548985f8328ae2010581dc1c0ed7e
tree229ff362a000daca8aa4c45c3c7216efdb4bfb94
parent95f5085939ce601de2cb9f7e07d60c96721c1be0
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