This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/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
..
2010-08-28 15:37:04 -07:00
2009-05-25 00:35:53 -07:00
2010-08-24 15:00:42 -07:00
2010-08-24 14:57:09 -07:00
2010-08-24 15:00:42 -07:00
2010-08-24 15:00:42 -07:00
2010-08-24 14:57:09 -07:00
2010-08-24 14:57:09 -07:00
2010-08-24 14:57:09 -07:00
2010-08-24 15:00:42 -07:00
2010-06-03 03:18:23 -07:00