[PARISC] Remove hardcoded uses of PAGE_SIZE
[linux-2.6/mini2440.git] / include / asm-m68k / scatterlist.h
blob24887a2d9c7bd09290b6980fee23e4a1d74090fa
1 #ifndef _M68K_SCATTERLIST_H
2 #define _M68K_SCATTERLIST_H
4 #include <linux/types.h>
6 struct scatterlist {
7 struct page *page;
8 unsigned int offset;
9 unsigned int length;
11 __u32 dma_address; /* A place to hang host-specific addresses at. */
14 /* This is bogus and should go away. */
15 #define ISA_DMA_THRESHOLD (0x00ffffff)
17 #define sg_dma_address(sg) ((sg)->dma_address)
18 #define sg_dma_len(sg) ((sg)->length)
20 #endif /* !(_M68K_SCATTERLIST_H) */