Skip to contentSkip to conversation

scatterlist: define SG chain for arm architecture

PATCH In review Fernando Guzman Lugo 2 participants 2 messages Oct 1, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scatterlist: define SG chain for arm architecture

Define SG chain for ARM architecture in order to work with big buffers. This patch is needed in order to iovmm users can pass a big buffer to map it and ARM architecture has not issues using SG chain.

This change was suggested by FUJITA Tomonori.

---
 arch/arm/include/asm/scatterlist.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/scatterlist.h +2 -0
index 2f87870..3de0a0b 100644
@@ -5,4 +5,6 @@
 #include <asm/types.h>
 #include <asm-generic/scatterlist.h>
 
+#define ARCH_HAS_SG_CHAIN
+
 #endif /* _ASMARM_SCATTERLIST_H */
Signature · 1 line
1.6.3.3
#1 lore raw

Please discard this patch, it should have sent to linux-arm list.

Regards,
Fernando.

Quoted 36 lines

________________________________________
From: Guzman Lugo, Fernando
Sent: Thursday, September 30, 2010 10:22 PM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected] rnel.org; Guzman Lugo, Fernando
Subject: [PATCH] scatterlist: define SG chain for arm architecture

Define SG chain for ARM architecture in order to work with big buffers. This patch is needed in order to iovmm users can pass a big buffer to map it and ARM architecture has not issues using SG chain.

This change was suggested by FUJITA Tomonori.

---
 arch/arm/include/asm/scatterlist.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/include/asm/scatt renamed from arch/arm/include/asm/scatterlist.h +0 -0

erlist.h
index 2f87870..3de0a0b 100644

arch/arm/include/asm/scatterlist.h +2 -1
@@ -5,4 +5,6 @@
 #include <asm/types.h>
 #include <asm-generic/scatterlist.h>
 
+#define ARCH_HAS_SG_CHAIN
+
 #endif /* _ASMARM_SCATTERLIST_H */
--

1.6.3.3