mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
f6ae31c23b
parisc uses iova and iova_length in scatterlist structure instead of dma_address and dma_length. However, the accessor are used so we can convert parisc to use asm-generic/scatterlist.h easily. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Cc: James E.J. Bottomley <jejb@parisc-linux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 lines
279 B
C
12 lines
279 B
C
#ifndef _ASM_PARISC_SCATTERLIST_H
|
|
#define _ASM_PARISC_SCATTERLIST_H
|
|
|
|
#include <asm/page.h>
|
|
#include <asm/types.h>
|
|
#include <asm-generic/scatterlist.h>
|
|
|
|
#define ISA_DMA_THRESHOLD (~0UL)
|
|
#define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))
|
|
|
|
#endif /* _ASM_PARISC_SCATTERLIST_H */
|