]> nv-tegra.nvidia Code Review - linux-2.6.git/blob - arch/m68k/include/asm/scatterlist_no.h
x86 setup: fix asm constraints in vesa_store_edid
[linux-2.6.git] / arch / m68k / include / asm / scatterlist_no.h
1 #ifndef _M68KNOMMU_SCATTERLIST_H
2 #define _M68KNOMMU_SCATTERLIST_H
3
4 #include <linux/mm.h>
5 #include <asm/types.h>
6
7 struct scatterlist {
8 #ifdef CONFIG_DEBUG_SG
9         unsigned long   sg_magic;
10 #endif
11         unsigned long   page_link;
12         unsigned int    offset;
13         dma_addr_t      dma_address;
14         unsigned int    length;
15 };
16
17 #define sg_dma_address(sg)      ((sg)->dma_address)
18 #define sg_dma_len(sg)          ((sg)->length)
19
20 #define ISA_DMA_THRESHOLD       (0xffffffff)
21
22 #endif /* !(_M68KNOMMU_SCATTERLIST_H) */