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 { |
Jens Axboe | d6ec084 | 2007-10-22 20:01:06 +0200 | [diff] [blame] | 5 | #ifdef CONFIG_DEBUG_SG |
| 6 | unsigned long sg_magic; |
| 7 | #endif |
Jens Axboe | 18dabf4 | 2007-10-22 19:57:20 +0200 | [diff] [blame] | 8 | unsigned long page_link; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | unsigned int offset; |
| 10 | unsigned int length; |
| 11 | }; |
| 12 | |
| 13 | #ifdef __s390x__ |
| 14 | #define ISA_DMA_THRESHOLD (0xffffffffffffffffUL) |
| 15 | #else |
| 16 | #define ISA_DMA_THRESHOLD (0xffffffffUL) |
| 17 | #endif |
| 18 | |
| 19 | #endif /* _ASMS390X_SCATTERLIST_H */ |