Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112584
b: refs/heads/master
c: 9821626
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Sep 10, 2008
1 parent db78650 commit 26fd620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8a493d37f049b631e19584d1cb84cec88cbcf8fc
refs/heads/master: 982162602b31041b426edec6480d327743abcbcc
2 changes: 1 addition & 1 deletion trunk/include/asm-x86/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
gfp |= GFP_DMA;
}

if (!dev->dma_mask)
if (!is_device_dma_capable(dev))
return NULL;

if (!ops->alloc_coherent)
Expand Down

0 comments on commit 26fd620

Please sign in to comment.