git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm: fix i965 build bug
[safe/jmp/linux-2.6]
/
drivers
/
char
/
drm
/
i810_dma.c
diff --git
a/drivers/char/drm/i810_dma.c
b/drivers/char/drm/i810_dma.c
index
c658dde
..
28ee6e3
100644
(file)
--- a/
drivers/char/drm/i810_dma.c
+++ b/
drivers/char/drm/i810_dma.c
@@
-106,7
+106,7
@@
static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma)
unlock_kernel();
if (io_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;
return 0;