aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2010-05-26 14:44:37 -0700
committerLinus Torvalds <[email protected]>2010-05-27 09:12:55 -0700
commitf7f2dde35af75a52fe2c9ff0da7500e82e00c736 (patch)
tree6a5457ca491ed3d938ee4140617254ee7c87413d
parent5b0e27ce35b040425332437fb314188ec5b71f11 (diff)
m32r: use use asm-generic/scatterlist.h
Signed-off-by: FUJITA Tomonori <[email protected]> Cc: Hirokazu Takata <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--arch/m32r/include/asm/scatterlist.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/m32r/include/asm/scatterlist.h b/arch/m32r/include/asm/scatterlist.h
index 1ed372c73d0b..aeeddd8dac17 100644
--- a/arch/m32r/include/asm/scatterlist.h
+++ b/arch/m32r/include/asm/scatterlist.h
@@ -1,20 +1,7 @@
#ifndef _ASM_M32R_SCATTERLIST_H
#define _ASM_M32R_SCATTERLIST_H
-#include <asm/types.h>
-
-struct scatterlist {
-#ifdef CONFIG_DEBUG_SG
- unsigned long sg_magic;
-#endif
- char * address; /* Location data is to be transferred to, NULL for
- * highmem page */
- unsigned long page_link;
- unsigned int offset;/* for highmem, page offset */
-
- dma_addr_t dma_address;
- unsigned int length;
-};
+#include <asm-generic/scatterlist.h>
#define ISA_DMA_THRESHOLD (0x1fffffff)