[SPARC64]: Use DECLARE_BITMAP in struct pci_iommu.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -78,7 +78,7 @@ struct pci_iommu {
|
|||||||
|
|
||||||
/* CTX allocation. */
|
/* CTX allocation. */
|
||||||
unsigned long ctx_lowest_free;
|
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
|
/* Here a PCI controller driver describes the areas of
|
||||||
* PCI memory space where DMA to/from physical memory
|
* PCI memory space where DMA to/from physical memory
|
||||||
|
Reference in New Issue
Block a user