projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d1fa4
)
[PATCH] x86-64: Add dma_sync_single_range_for_{cpu,device}
author
Andi Kleen
<ak@suse.de>
Mon, 12 Sep 2005 16:49:24 +0000
(18:49 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 12 Sep 2005 17:50:56 +0000
(10:50 -0700)
Currently just defined to their non range parts.
Pointed out by John Linville
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/dma-mapping.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/dma-mapping.h
b/include/asm-x86_64/dma-mapping.h
index a416dc31634a207fa4ff3330810ef20dce2829c9..e784fdc524f1ac7be2dce7930995cccab58dc0f6 100644
(file)
--- a/
include/asm-x86_64/dma-mapping.h
+++ b/
include/asm-x86_64/dma-mapping.h
@@
-85,6
+85,11
@@
static inline void dma_sync_single_for_device(struct device *hwdev,
flush_write_buffers();
}
+#define dma_sync_single_range_for_cpu(dev, dma_handle, offset, size, dir) \
+ dma_sync_single_for_cpu(dev, dma_handle, size, dir)
+#define dma_sync_single_range_for_device(dev, dma_handle, offset, size, dir) \
+ dma_sync_single_for_device(dev, dma_handle, size, dir)
+
static inline void dma_sync_sg_for_cpu(struct device *hwdev,
struct scatterlist *sg,
int nelems, int direction)