2010-02-20 08:12:28

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -mm 1/2] frv: add a pointer to Documentation/DMA-API.txt

Signed-off-by: FUJITA Tomonori <[email protected]>
---
arch/frv/include/asm/dma-mapping.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/frv/include/asm/dma-mapping.h b/arch/frv/include/asm/dma-mapping.h
index 20cca40..6af5d83 100644
--- a/arch/frv/include/asm/dma-mapping.h
+++ b/arch/frv/include/asm/dma-mapping.h
@@ -7,6 +7,11 @@
#include <asm/scatterlist.h>
#include <asm/io.h>

+/*
+ * See Documentation/DMA-API.txt for the description of how the
+ * following DMA API should work.
+ */
+
#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)

--
1.6.5


2010-02-20 08:12:27

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -mm 2/2] mn10300: add a pointer to Documentation/DMA-API.txt

Signed-off-by: FUJITA Tomonori <[email protected]>
---
arch/mn10300/include/asm/dma-mapping.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/mn10300/include/asm/dma-mapping.h b/arch/mn10300/include/asm/dma-mapping.h
index 517d3b6..db71441 100644
--- a/arch/mn10300/include/asm/dma-mapping.h
+++ b/arch/mn10300/include/asm/dma-mapping.h
@@ -17,6 +17,11 @@
#include <asm/cache.h>
#include <asm/io.h>

+/*
+ * See Documentation/DMA-API.txt for the description of how the
+ * following DMA API should work.
+*/
+
extern void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, int flag);

--
1.6.5

2010-02-22 13:38:48

by David Howells

[permalink] [raw]
Subject: Re: [PATCH -mm 1/2] frv: add a pointer to Documentation/DMA-API.txt

FUJITA Tomonori <[email protected]> wrote:

> Signed-off-by: FUJITA Tomonori <[email protected]>

To both patches:

Acked-by: David Howells <[email protected]>