X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fscatterlist.h;h=6df23f070b1a31b6c916528ca870b52b538dc6f4;hb=80bbdd27e4016ad39d33160ea7f39ac05bfe1d7c;hp=048fdb40e81dc17a1d319222556344aaf5408b2c;hpb=a3d52136ee8f7399859f9a0824470fd49b1d1a00;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-sparc64/scatterlist.h b/include/asm-sparc64/scatterlist.h index 048fdb40e81..6df23f070b1 100644 --- a/include/asm-sparc64/scatterlist.h +++ b/include/asm-sparc64/scatterlist.h @@ -6,7 +6,10 @@ #include struct scatterlist { - struct page *page; +#ifdef CONFIG_DEBUG_SG + unsigned long sg_magic; +#endif + unsigned long page_link; unsigned int offset; unsigned int length; @@ -20,4 +23,6 @@ struct scatterlist { #define ISA_DMA_THRESHOLD (~0UL) +#define ARCH_HAS_SG_CHAIN + #endif /* !(_SPARC64_SCATTERLIST_H) */