diff options
Diffstat (limited to 'include/asm-s390/scatterlist.h')
-rw-r--r-- | include/asm-s390/scatterlist.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-s390/scatterlist.h b/include/asm-s390/scatterlist.h new file mode 100644 index 000000000000..a43b3afc5e2d --- /dev/null +++ b/include/asm-s390/scatterlist.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef _ASMS390_SCATTERLIST_H | ||
2 | #define _ASMS390_SCATTERLIST_H | ||
3 | |||
4 | struct scatterlist { | ||
5 | struct page *page; | ||
6 | unsigned int offset; | ||
7 | unsigned int length; | ||
8 | }; | ||
9 | |||
10 | #ifdef __s390x__ | ||
11 | #define ISA_DMA_THRESHOLD (0xffffffffffffffffUL) | ||
12 | #else | ||
13 | #define ISA_DMA_THRESHOLD (0xffffffffUL) | ||
14 | #endif | ||
15 | |||
16 | #endif /* _ASMS390X_SCATTERLIST_H */ | ||