summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/proc.c')
-rw-r--r--drivers/char/drm/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/proc.c b/drivers/char/drm/proc.c
index 666b6e5ac..5bc52ba0d 100644
--- a/drivers/char/drm/proc.c
+++ b/drivers/char/drm/proc.c
@@ -382,7 +382,7 @@ static int _drm_vma_info(char *buf, char **start, off_t offset, int len,
vma->vm_flags & VM_MAYSHARE ? 's' : 'p',
vma->vm_flags & VM_LOCKED ? 'l' : '-',
vma->vm_flags & VM_IO ? 'i' : '-',
- vma->vm_offset );
+ vma->vm_pgoff << PAGE_SHIFT );
#if defined(__i386__)
pgprot = pgprot_val(vma->vm_page_prot);
DRM_PROC_PRINT(" %c%c%c%c%c%c%c%c%c",