diff mbox

[05/12] IB/ehca: Use DECLARE_BITMAP

Message ID cd2eb3a07f039222fcd266b793a03d3439b07588.1432085659.git.joe@perches.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Joe Perches May 20, 2015, 1:37 a.m. UTC
Use the generic mechanism to declare a bitmap instead of unsigned long.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/infiniband/hw/ehca/ipz_pt_fn.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/infiniband/hw/ehca/ipz_pt_fn.h b/drivers/infiniband/hw/ehca/ipz_pt_fn.h
index a801274..19bc344 100644
--- a/drivers/infiniband/hw/ehca/ipz_pt_fn.h
+++ b/drivers/infiniband/hw/ehca/ipz_pt_fn.h
@@ -65,7 +65,7 @@  struct ipz_page {
 
 struct ipz_small_queue_page {
 	unsigned long page;
-	unsigned long bitmap[IPZ_SPAGE_PER_KPAGE / BITS_PER_LONG];
+	DECLARE_BITMAP(bitmap, IPZ_SPAGE_PER_KPAGE);
 	int fill;
 	void *mapped_addr;
 	u32 mmap_count;