From: FUJITA Tomonori Date: Wed, 26 May 2010 21:44:35 +0000 (-0700) Subject: cris: use asm-generic/scatterlist.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=16b3f4d65344878cff76306ed2630fa25c0ad5a7;p=mv-sheeva.git cris: use asm-generic/scatterlist.h Signed-off-by: FUJITA Tomonori Cc: Mikael Starvik Cc: Jesper Nilsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/cris/include/asm/scatterlist.h b/arch/cris/include/asm/scatterlist.h index faff53ad1f9..249a7842ff5 100644 --- a/arch/cris/include/asm/scatterlist.h +++ b/arch/cris/include/asm/scatterlist.h @@ -1,22 +1,7 @@ #ifndef __ASM_CRIS_SCATTERLIST_H #define __ASM_CRIS_SCATTERLIST_H -struct scatterlist { -#ifdef CONFIG_DEBUG_SG - unsigned long sg_magic; -#endif - char * address; /* Location data is to be transferred to */ - unsigned int length; - - /* The following is i386 highmem junk - not used by us */ - unsigned long page_link; - unsigned int offset;/* for highmem, page offset */ - -}; - -#define sg_dma_address(sg) ((sg)->address) -#define sg_dma_len(sg) ((sg)->length) -/* i386 junk */ +#include #define ISA_DMA_THRESHOLD (0x1fffffff)