fs: use kmem_cache_zalloc instead
[pv_ops_mirror.git] / include / asm-sparc64 / scatterlist.h
blob703c5bbe6c8cdc4a06aa44f2a64c5d4bde5adc8d
1 /* $Id: scatterlist.h,v 1.11 2001/12/17 07:05:15 davem Exp $ */
2 #ifndef _SPARC64_SCATTERLIST_H
3 #define _SPARC64_SCATTERLIST_H
5 #include <asm/page.h>
6 #include <asm/types.h>
8 struct scatterlist {
9 struct page *page;
10 unsigned int offset;
12 unsigned int length;
14 dma_addr_t dma_address;
15 __u32 dma_length;
18 #define sg_dma_address(sg) ((sg)->dma_address)
19 #define sg_dma_len(sg) ((sg)->dma_length)
21 #define ISA_DMA_THRESHOLD (~0UL)
23 #define ARCH_HAS_SG_CHAIN
25 #endif /* !(_SPARC64_SCATTERLIST_H) */