]> err.no Git - linux-2.6/commit
[PATCH] x86_64 irq: Simplfiy the set_affinity logic.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 23 Feb 2007 11:20:59 +0000 (04:20 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 18:34:08 +0000 (10:34 -0800)
commit5ff5115efafb08b49cbc8abdea9726884fba0b5a
tree178a64ae41473e353f9c028067da827731f8cb52
parenta8c8a36736c00b261fd5dd01400c41726f2f19eb
[PATCH] x86_64 irq: Simplfiy the set_affinity logic.

For some reason the code has been picking TARGET_CPUS when asked to
set the affinity to an empty set of cpus.  That is just silly it's
extra work.  Instead if there are no cpus to set the affinity to we
should just give up immediately.  That is simpler and a little more
intuitive.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/io_apic.c