Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47880
b: refs/heads/master
c: 509cb37
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Feb 12, 2007
1 parent 51efb96 commit b44a1b3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9ede209e83693cf3f6b64f61ab4b65f2f809cb50
refs/heads/master: 509cb37e173d4e39cec47238397e91b718730794
4 changes: 3 additions & 1 deletion trunk/include/asm-generic/dma-mapping-broken.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

/* This is used for archs that do not support DMA */


static inline void *
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
gfp_t flag)
Expand All @@ -19,4 +18,7 @@ dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
BUG();
}

#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)

#endif /* _ASM_GENERIC_DMA_MAPPING_H */

0 comments on commit b44a1b3

Please sign in to comment.