Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ |