Commit 5ff5115e authored by Committed by Linus TorvaldsBrowse files
[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 <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 3 additions and 9 deletions