sctp: use bitmap_weight
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 16 Nov 2012 20:39:49 +0000 (20:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2012 03:01:18 +0000 (22:01 -0500)
commitfc184f089220f7abd604993d7c69218603c2ffb2
tree5897c60c370d41e399c5ec6584fe36222a6f423b
parent67f4efdce7d85282fbd5832cddc80a07eb89b6d6
sctp: use bitmap_weight

Use bitmap_weight to count the total number of bits set in bitmap.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Sridhar Samudrala <sri@us.ibm.com>
Cc: linux-sctp@vger.kernel.org
Cc: netdev@vger.kernel.org
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/tsnmap.c