Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54721
b: refs/heads/master
c: b247e8a
h: refs/heads/master
i:
  54719: 45d1248
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Linus Torvalds committed May 8, 2007
1 parent b7f6775 commit 3faa5fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f19b121e21c1b032f6c612d2b9b499151f7b661b
refs/heads/master: b247e8aaf2837715d31eb25828fa8b4eb0a659cd
2 changes: 1 addition & 1 deletion trunk/arch/cris/arch-v32/drivers/pci/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
{
void __iomem *mem_base;
int pages = size >> PAGE_SHIFT;
int bitmap_size = (pages + 31)/32;
int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long);

if ((flags & (DMA_MEMORY_MAP | DMA_MEMORY_IO)) == 0)
goto out;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
{
void __iomem *mem_base = NULL;
int pages = size >> PAGE_SHIFT;
int bitmap_size = (pages + 31)/32;
int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long);

if ((flags & (DMA_MEMORY_MAP | DMA_MEMORY_IO)) == 0)
goto out;
Expand Down

0 comments on commit 3faa5fd

Please sign in to comment.