]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
genirq: fix the affinity setting in setup_irq
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Nov 2008 12:58:46 +0000 (13:58 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Nov 2008 21:23:54 +0000 (22:23 +0100)
commit612e3684c1b7752d2890510e4f90115fd1eb2afb
tree77d8b8de0a4ae3805cb38bfe60ed2b107fc87cad
parentf6d87f4bd259cf33e092cd1a8fde05f291c47af1
genirq: fix the affinity setting in setup_irq

The affinity setting in setup irq is called before the NO_BALANCING
flag is checked and might therefore override affinity settings from the
calling code with the default setting.

Move the NO_BALANCING flag check before the call to the affinity
setting.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/manage.c