[SPARC64]: Use DECLARE_BITMAP in struct pci_iommu.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 15 Mar 2007 01:33:49 +0000 (18:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 08:55:21 +0000 (01:55 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/pbm.h

index 3a811c2..9afcc06 100644 (file)
@@ -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