x86: make mp_ioapic_routing definition local
[linux-2.6/mini2440.git] / include / asm-cris / scatterlist.h
blobfaff53ad1f96cd56327caf8c182ad70c81fc161f
1 #ifndef __ASM_CRIS_SCATTERLIST_H
2 #define __ASM_CRIS_SCATTERLIST_H
4 struct scatterlist {
5 #ifdef CONFIG_DEBUG_SG
6 unsigned long sg_magic;
7 #endif
8 char * address; /* Location data is to be transferred to */
9 unsigned int length;
11 /* The following is i386 highmem junk - not used by us */
12 unsigned long page_link;
13 unsigned int offset;/* for highmem, page offset */
17 #define sg_dma_address(sg) ((sg)->address)
18 #define sg_dma_len(sg) ((sg)->length)
19 /* i386 junk */
21 #define ISA_DMA_THRESHOLD (0x1fffffff)
23 #endif /* !(__ASM_CRIS_SCATTERLIST_H) */