提交 43bed127 编写于 作者: D David S. Miller

[SPARC64]: Use DECLARE_BITMAP in struct pci_iommu.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 28f57e77
...@@ -78,7 +78,7 @@ struct pci_iommu { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册