Selaa lähdekoodia

[SPARC64]: Use DECLARE_BITMAP in struct pci_iommu.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 vuotta sitten
vanhempi
commit
43bed12737
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      include/asm-sparc64/pbm.h

+ 1 - 1
include/asm-sparc64/pbm.h

@@ -78,7 +78,7 @@ struct pci_iommu {
 
 	/* CTX allocation. */
 	unsigned long ctx_lowest_free;
-	unsigned long ctx_bitmap[IOMMU_NUM_CTXS / (sizeof(unsigned long) * 8)];
+	DECLARE_BITMAP(ctx_bitmap, IOMMU_NUM_CTXS);
 
 	/* Here a PCI controller driver describes the areas of
 	 * PCI memory space where DMA to/from physical memory