RE: sg_dma_address and sg_dma_len
From: Luck, Tony
Date: Wed Dec 13 2006 - 17:25:03 EST
> Since pci.h includes <asm/scatterlist.h> it seems like the fix would be
> to move the two lines:
> #define sg_dma_len(sg) ((sg)->dma_length)
> #define sg_dma_address(sg) ((sg)->dma_address)
> to include/asm-ia64/scatterlist.h
Sounds like a good plan ... a test build with this change fixed all the
infiniband build issues, and didn't introduce any new ones. I've applied
this to my ia64 tree and asked Linus to pull it.
Thanks.
-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/