kernel-fxtec-pro1x/drivers/net/mlx4
Akinobu Mita e27cd4f8ca mlx4: use bitmap library
Replace loops calling set_bit() and clear_bit() with bitmap_set() and
bitmap_clear().

Unlike loops calling set_bit() and clear_bit(), bitmap_set() and
bitmap_clear() are not atomic. But this is ok.
Because the bitmap operations are protected by bitmap->lock
except for initialization of the bitmap in mlx4_bitmap_init().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-28 15:37:04 -07:00
..
alloc.c mlx4: use bitmap library 2010-08-28 15:37:04 -07:00
catas.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
cmd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
en_cq.c
en_ethtool.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
en_main.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
en_netdev.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
en_port.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_port.h mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_resources.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
en_rx.c mlx4_en: Fix build warning in mlx4_en_create_rx_ring. 2010-08-24 15:06:27 -07:00
en_selftest.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_tx.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
eq.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
fw.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
fw.h mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
icm.c mlx4_core: Clean up mlx4_alloc_icm() a bit 2010-05-20 15:58:22 -07:00
icm.h
intf.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
main.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
Makefile mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
mcg.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mlx4.h drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
mlx4_en.h mlx4_en: updated driver version 2010-08-24 15:00:42 -07:00
mr.c drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
pd.c
port.c
profile.c drivers/net: Convert unbounded kzalloc calls to kcalloc 2010-08-17 17:45:14 -07:00
qp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
reset.c
sense.c
srq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00