Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106960
b: refs/heads/master
c: 538c29d
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Ingo Molnar committed Jul 18, 2008
1 parent 00b8cfa commit d7155f2
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f6dc8ccaab6d8f63cbae1e6c73fe972b26f5376c
refs/heads/master: 538c29d43ebdac2edcef96ac07982d2296a63077
3 changes: 1 addition & 2 deletions trunk/kernel/dma-coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ int dma_alloc_from_coherent(struct device *dev, ssize_t size,
*dma_handle = mem->device_base + (page << PAGE_SHIFT);
*ret = mem->virt_base + (page << PAGE_SHIFT);
memset(*ret, 0, size);
}
if (mem->flags & DMA_MEMORY_EXCLUSIVE)
} else if (mem->flags & DMA_MEMORY_EXCLUSIVE)
*ret = NULL;
}
return (mem != NULL);
Expand Down

0 comments on commit d7155f2

Please sign in to comment.