X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fscatterlist.h;h=4da79d3d3f34d03f07c7b34529f4e30502e2e3bf;hb=6de410c2b0cc055ae9ee640c84331f6a70878d9b;hp=12309b181d29b5780dd84138b0712d6050387d85;hpb=033d974405276c22609c45d50167dd11df20aa82;p=powerpc.git diff --git a/include/asm-m68knommu/scatterlist.h b/include/asm-m68knommu/scatterlist.h index 12309b181d..4da79d3d3f 100644 --- a/include/asm-m68knommu/scatterlist.h +++ b/include/asm-m68knommu/scatterlist.h @@ -2,6 +2,7 @@ #define _M68KNOMMU_SCATTERLIST_H #include +#include struct scatterlist { struct page *page; @@ -10,7 +11,7 @@ struct scatterlist { unsigned int length; }; -#define sg_address(sg) (page_address((sg)->page) + (sg)->offset +#define sg_address(sg) (page_address((sg)->page) + (sg)->offset) #define sg_dma_address(sg) ((sg)->dma_address) #define sg_dma_len(sg) ((sg)->length)