Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-alpha / scatterlist.h
blob6afb8bd3aaf9674772dbfe981c05d86c4d008534
1 #ifndef _ALPHA_SCATTERLIST_H
2 #define _ALPHA_SCATTERLIST_H
4 #include <asm/page.h>
6 struct scatterlist {
7 struct page *page;
8 unsigned int offset;
10 unsigned int length;
12 dma_addr_t dma_address;
13 __u32 dma_length;
16 #define sg_dma_address(sg) ((sg)->dma_address)
17 #define sg_dma_len(sg) ((sg)->dma_length)
19 #define ISA_DMA_THRESHOLD (~0UL)
21 #endif /* !(_ALPHA_SCATTERLIST_H) */