X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Fnommu.c;h=3f87d2632947371b47df580c32d041fb39bb91ba;hb=1804dc6e145f3f24a8c94deddfc0a986d380a27f;hp=79ecd281d2cbf1e1db1484ffe4b24413bc6f9e63;hpb=bd5d435a96837c3495e62eef37cbe4cb728b79ae;p=linux-2.6 diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c index 79ecd281d2..3f87d26329 100644 --- a/fs/proc/nommu.c +++ b/fs/proc/nommu.c @@ -52,14 +52,14 @@ int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma) } seq_printf(m, - "%08lx-%08lx %c%c%c%c %08lx %02x:%02x %lu %n", + "%08lx-%08lx %c%c%c%c %08llx %02x:%02x %lu %n", vma->vm_start, vma->vm_end, flags & VM_READ ? 'r' : '-', flags & VM_WRITE ? 'w' : '-', flags & VM_EXEC ? 'x' : '-', flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', - vma->vm_pgoff << PAGE_SHIFT, + ((loff_t)vma->vm_pgoff) << PAGE_SHIFT, MAJOR(dev), MINOR(dev), ino, &len); if (file) {