aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/scatterlist.h')
-rw-r--r--arch/s390/include/asm/scatterlist.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/s390/include/asm/scatterlist.h b/arch/s390/include/asm/scatterlist.h
index 29ec8e28c8d..6d45ef6c12a 100644
--- a/arch/s390/include/asm/scatterlist.h
+++ b/arch/s390/include/asm/scatterlist.h
@@ -1,19 +1,3 @@
-#ifndef _ASMS390_SCATTERLIST_H
-#define _ASMS390_SCATTERLIST_H
+#include <asm-generic/scatterlist.h>
-struct scatterlist {
-#ifdef CONFIG_DEBUG_SG
- unsigned long sg_magic;
-#endif
- unsigned long page_link;
- unsigned int offset;
- unsigned int length;
-};
-
-#ifdef __s390x__
-#define ISA_DMA_THRESHOLD (0xffffffffffffffffUL)
-#else
-#define ISA_DMA_THRESHOLD (0xffffffffUL)
-#endif
-
-#endif /* _ASMS390X_SCATTERLIST_H */
+#define ARCH_HAS_SG_CHAIN