X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fscatterlist.h;h=fcf7d55afe4599e3049713156145997fa066e1e3;hb=00e9028a95fb8a4d79f2fb695a853f33ea7d3b57;hp=8c992d1491d420c8ab452291752900dd146dd2b0;hpb=7211bb9b64f17b23834d91fc3d0c1d78671ee9a8;p=linux-2.6 diff --git a/include/asm-powerpc/scatterlist.h b/include/asm-powerpc/scatterlist.h index 8c992d1491..fcf7d55afe 100644 --- a/include/asm-powerpc/scatterlist.h +++ b/include/asm-powerpc/scatterlist.h @@ -14,7 +14,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; @@ -41,5 +44,7 @@ struct scatterlist { #define ISA_DMA_THRESHOLD (~0UL) #endif +#define ARCH_HAS_SG_CHAIN + #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_SCATTERLIST_H */