From: FUJITA Tomonori Date: Wed, 26 May 2010 21:44:35 +0000 (-0700) Subject: cris: use asm-generic/scatterlist.h X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~25704 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=16b3f4d65344878cff76306ed2630fa25c0ad5a7;p=mirror_ubuntu-focal-kernel.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 faff53ad1f96..249a7842ff5f 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)