Signed-off-by: Jens Axboe <jens.axboe@oracle.com> --- lib/swiotlb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 752fd95..1a8050a 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -35,7 +35,7 @@ #define OFFSET(val,align) ((unsigned long) \ ( (val) & ( (align) - 1))) -#define SG_ENT_VIRT_ADDRESS(sg) (page_address((sg)->page) + (sg)->offset) +#define SG_ENT_VIRT_ADDRESS(sg) (sg_virt((sg))) #define SG_ENT_PHYS_ADDRESS(sg) virt_to_bus(SG_ENT_VIRT_ADDRESS(sg)) /* -- 1.5.3.GIT -
| Eric Anholt | [PATCH] Export kmap_atomic_pfn for DRM-GEM. |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
| Avi Kivity | [PATCH] x86: default to reboot via ACPI |
git: | |
| Shawn O. Pearce | Re: MinGW port - initial work uploaded |
| Pierre Habouzit | git submodules |
| Mike Hommey | Re: Minor annoyance with git push |
| H. Peter Anvin | kde.git is now online |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Brandon Lee | Re: DELL PERC 5iR slow performance |
| peter | ntpd not synching |
| bofh | Re: Load balancing with DSR |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Peter Grehan | TCP SYN_RECV state: stuck forever in accept() ? |
| Brandon S. Allbery | Re: mkdir says "no space left on device" and more problems... |
| Theodore Ts'o | Re: Stabilizing Linux |
