From: David S. Miller Date: Thu, 15 Mar 2007 01:33:49 +0000 (-0700) Subject: [SPARC64]: Use DECLARE_BITMAP in struct pci_iommu. X-Git-Tag: v2.6.22-rc1~1127^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=43bed127376ff2ef9c268cf6688a43d0fbed2ff4;p=linux-2.6-omap-h63xx.git [SPARC64]: Use DECLARE_BITMAP in struct pci_iommu. Signed-off-by: David S. Miller --- diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h index 3a811c2cd3c..9afcc06a575 100644 --- a/include/asm-sparc64/pbm.h +++ b/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