diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-14 21:33:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:21 -0400 |
commit | 43bed127376ff2ef9c268cf6688a43d0fbed2ff4 (patch) | |
tree | 1241d2ae9d1d092688df43ffa5e67ec5fd5a83ca /include/asm-sparc64 | |
parent | 28f57e774d91ce01e03ff65caa2313bc8786b66f (diff) |
[SPARC64]: Use DECLARE_BITMAP in struct pci_iommu.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/pbm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h index 3a811c2cd3c2..9afcc06a575d 100644 --- a/include/asm-sparc64/pbm.h +++ b/include/asm-sparc64/pbm.h | |||
@@ -78,7 +78,7 @@ struct pci_iommu { | |||
78 | 78 | ||
79 | /* CTX allocation. */ | 79 | /* CTX allocation. */ |
80 | unsigned long ctx_lowest_free; | 80 | unsigned long ctx_lowest_free; |
81 | unsigned long ctx_bitmap[IOMMU_NUM_CTXS / (sizeof(unsigned long) * 8)]; | 81 | DECLARE_BITMAP(ctx_bitmap, IOMMU_NUM_CTXS); |
82 | 82 | ||
83 | /* Here a PCI controller driver describes the areas of | 83 | /* Here a PCI controller driver describes the areas of |
84 | * PCI memory space where DMA to/from physical memory | 84 | * PCI memory space where DMA to/from physical memory |