]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] hpsa: use find_first_zero_bit
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 20 Jan 2012 15:15:27 +0000 (00:15 +0900)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:04:05 +0000 (16:04 +0800)
commit143629a33460d35bdfdf7113b111747aa859b704
tree4072cef146e524de09d9eea329d27906dfc149bc
parent3f24c7da0abc7acd79c5d1474736c18e1115f276
[SCSI] hpsa: use find_first_zero_bit

Use find_first_zero_bit to find the first cleared bit in a memory region.

This also includes the following minor changes.
- Use bitmap_zero
- Reduce unnecessary atomic bitops usage

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 263d9401a332ccec8945841dbc57707dcba1ec7d)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c