summaryrefslogtreecommitdiff
path: root/linux-core/i830_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-02-18 17:59:40 +1100
committerDave Airlie <airlied@linux.ie>2007-02-18 17:59:40 +1100
commita253de2fcfa11abadd4697a9d89137adf3f35f78 (patch)
tree40b6c52b00e90dc6b3e3ed506e3b4bd03880e834 /linux-core/i830_dma.c
parent6d8ed5aedda27ec238aac3d69fb9dfadc82bfa9a (diff)
drm: remove last usage of VM_OFFSET
Diffstat (limited to 'linux-core/i830_dma.c')
-rw-r--r--linux-core/i830_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c
index e93307fb..406a3ff7 100644
--- a/linux-core/i830_dma.c
+++ b/linux-core/i830_dma.c
@@ -110,7 +110,7 @@ static int i830_mmap_buffers(struct file *filp, struct vm_area_struct *vma)
unlock_kernel();
if (remap_pfn_range(vma, vma->vm_start,
- VM_OFFSET(vma) >> PAGE_SHIFT,
+ vma->vm_pgoff,
vma->vm_end - vma->vm_start,
vma->vm_page_prot))
return -EAGAIN;