X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fscatterlist.h;h=fcf7d55afe4599e3049713156145997fa066e1e3;hb=d02859ecb321c8c0f74cb9bbe3f51a59e58822b0;hp=8c992d1491d420c8ab452291752900dd146dd2b0;hpb=ba77df570c6710c9c19b31e0e48e4bcdf31cefe8;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-powerpc/scatterlist.h b/include/asm-powerpc/scatterlist.h index 8c992d1491d4..fcf7d55afe45 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 */