Re: [1/4] dma: add dma_flags_set_dmabarrier() to dma interface

2007-09-28 Thread David Miller
From: [EMAIL PROTECTED]
Date: Thu, 27 Sep 2007 18:10:59 -0700

> +#ifndef ARCH_CAN_REORDER_DMA
> +static inline int dma_flags_set_dmabarrier(int dir) {
> + return dir;
> +}
> +#endif /* ARCH_CAN_REORDER_DMA */

Coding style, that initial openning brace should be
on a line by itself.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [1/4] dma: add dma_flags_set_dmabarrier() to dma interface

2007-09-28 Thread David Miller
From: [EMAIL PROTECTED]
Date: Thu, 27 Sep 2007 18:10:59 -0700

 +#ifndef ARCH_CAN_REORDER_DMA
 +static inline int dma_flags_set_dmabarrier(int dir) {
 + return dir;
 +}
 +#endif /* ARCH_CAN_REORDER_DMA */

Coding style, that initial openning brace should be
on a line by itself.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[1/4] dma: add dma_flags_set_dmabarrier() to dma interface

2007-09-27 Thread akepner

Introduce the dma_flags_set_dmabarrier() interface and give it
a default no-op implementation.

Signed-off-by: Arthur Kepner <[EMAIL PROTECTED]>

--- 

 dma-mapping.h |6 ++
 1 files changed, 6 insertions(+)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h

index 2dc21cb..4d1d199 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -99,4 +99,10 @@ static inline void dmam_release_declared_memory(struct 
device *dev)
 }
 #endif /* ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY */
 
+#ifndef ARCH_CAN_REORDER_DMA
+static inline int dma_flags_set_dmabarrier(int dir) {
+   return dir;
+}
+#endif /* ARCH_CAN_REORDER_DMA */
+
 #endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[1/4] dma: add dma_flags_set_dmabarrier() to dma interface

2007-09-27 Thread akepner

Introduce the dma_flags_set_dmabarrier() interface and give it
a default no-op implementation.

Signed-off-by: Arthur Kepner [EMAIL PROTECTED]

--- 

 dma-mapping.h |6 ++
 1 files changed, 6 insertions(+)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h

index 2dc21cb..4d1d199 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -99,4 +99,10 @@ static inline void dmam_release_declared_memory(struct 
device *dev)
 }
 #endif /* ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY */
 
+#ifndef ARCH_CAN_REORDER_DMA
+static inline int dma_flags_set_dmabarrier(int dir) {
+   return dir;
+}
+#endif /* ARCH_CAN_REORDER_DMA */
+
 #endif
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/