scatterlist: define SG chain for arm architecture
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
@@ -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
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 architectureDefine 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.
Signed-off-by Fernando Guzman Lugo <[email protected]>--- 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 100644arch/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