patch-2.4.21 linux-2.4.21/include/asm-parisc/scatterlist.h
Next file: linux-2.4.21/include/asm-parisc/spinlock.h
Previous file: linux-2.4.21/include/asm-parisc/rtc.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-parisc/scatterlist.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/include/asm-parisc/scatterlist.h linux-2.4.21/include/asm-parisc/scatterlist.h
@@ -23,7 +23,7 @@
};
#define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \
- ((sg)->page->virtual + (sg)->offset))
+ (page_address((sg)->page) + (sg)->offset))
#define sg_dma_address(sg) ((sg)->iova)
#define sg_dma_len(sg) ((sg)->iova_length)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)