commit | 598cb6f327c99ceaf81c45c32504669b2028712b | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Wed Dec 09 10:05:28 2009 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Dec 09 10:05:28 2009 -0800 |
tree | 3c5704f6ea3fe19d300914ef1f680875ea8f7b77 | |
parent | 91d3f9bacdb4950d2f79fe2ba296aa249f60d06c [diff] |
IB/ipath: Use bitmap_weight() Use bitmap_weight() instead of finding all set bits in bitmap by hand. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Ralph Campbell <infinipath@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>