IB/ipath: Fix unit selection when all CPU affinity bits set
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 15 Mar 2007 21:45:13 +0000 (14:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:59 +0000 (20:20 -0700)
commitf0810daf74c564a3615eba5002cc11c21a0949ba
tree18632304f226fbb060e52ff601939470eafa9aa1
parent662af5813be9aadf95ca310b7b6d1d37070c9922
IB/ipath: Fix unit selection when all CPU affinity bits set

At some point things changed so that all the affinity bits can be set,
but cpus_full() macro is not true.  This caused problems with the unit
selection logic on multi-unit (board) configurations.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c