Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-s390 / scatterlist.h
blob29ec8e28c8df375f1aa13e12b9edf2fa89752831
1 #ifndef _ASMS390_SCATTERLIST_H
2 #define _ASMS390_SCATTERLIST_H
4 struct scatterlist {
5 #ifdef CONFIG_DEBUG_SG
6 unsigned long sg_magic;
7 #endif
8 unsigned long page_link;
9 unsigned int offset;
10 unsigned int length;
13 #ifdef __s390x__
14 #define ISA_DMA_THRESHOLD (0xffffffffffffffffUL)
15 #else
16 #define ISA_DMA_THRESHOLD (0xffffffffUL)
17 #endif
19 #endif /* _ASMS390X_SCATTERLIST_H */