]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PKT_SCHED] dsmark: Use hweight32() instead of convoluted loop.
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2008 10:21:45 +0000 (02:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:39 +0000 (15:08 -0800)
commit5b0ac72bc5fdda9634fb07db4cb0237fa9b6df68
tree26db7718b56ea492e25a5c9321f5669020bc7ea6
parent81da99ed71254a08d9a0bce46c258c1e15ac3948
[PKT_SCHED] dsmark: Use hweight32() instead of convoluted loop.

Based upon a patch by Stephen Hemminger and suggestions
from Patrick McHardy.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_dsmark.c