25 lines
834 B
Diff
25 lines
834 B
Diff
|
From 24f984f784cae1a4515fe1be8db1ac24cdf51e84 Mon Sep 17 00:00:00 2001
|
||
|
From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
|
||
|
Date: Tue, 10 Feb 2009 18:37:41 +0200
|
||
|
Subject: [PATCH] omap iommu: We support chained scatterlists, probably. :)
|
||
|
|
||
|
Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
|
||
|
---
|
||
|
arch/arm/include/asm/scatterlist.h | 2 ++
|
||
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
||
|
|
||
|
diff --git a/arch/arm/include/asm/scatterlist.h b/arch/arm/include/asm/scatterlist.h
|
||
|
index ca0a37d..393f8b8 100644
|
||
|
--- a/arch/arm/include/asm/scatterlist.h
|
||
|
+++ b/arch/arm/include/asm/scatterlist.h
|
||
|
@@ -24,4 +24,6 @@ struct scatterlist {
|
||
|
#define sg_dma_address(sg) ((sg)->dma_address)
|
||
|
#define sg_dma_len(sg) ((sg)->length)
|
||
|
|
||
|
+#define ARCH_HAS_SG_CHAIN
|
||
|
+
|
||
|
#endif /* _ASMARM_SCATTERLIST_H */
|
||
|
--
|
||
|
1.5.6.5
|
||
|
|