projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] cpufreq build fix
[powerpc.git]
/
include
/
asm-frv
/
dma-mapping.h
diff --git
a/include/asm-frv/dma-mapping.h
b/include/asm-frv/dma-mapping.h
index
5003e01
..
e9fc1d4
100644
(file)
--- a/
include/asm-frv/dma-mapping.h
+++ b/
include/asm-frv/dma-mapping.h
@@
-23,7
+23,7
@@
void dma_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t
* returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0.
*/
* returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0.
*/
-#define sg_dma_address(sg) ((
unsigned long) (page_to_phys((sg)->page) + (sg)->offset)
)
+#define sg_dma_address(sg) ((
sg)->dma_address
)
#define sg_dma_len(sg) ((sg)->length)
/*
#define sg_dma_len(sg) ((sg)->length)
/*