Re: Linux 2.4.19pre3-ac2

willy tarreau (wtarreau@yahoo.fr)
Tue, 19 Mar 2002 19:52:09 +0100 (CET)


Hi Alan,

I cannot compile shm.c unless I apply this
patch. I hope it's correct, I put 0 in the acct
field just because there was 0 at the
do_mmap() line.

I'm really sorry this patch will be mangled
by my mail client here, but it's a one liner,
self-explanatory.

Regards,
Willy

--- linux/ipc/shm.c-orig Tue Mar 19 19:45:52
2002
+++ linux/ipc/shm.c Tue Mar 19 19:46:17 2002
@@ -679,7 +679,7 @@
shmdnext = shmd->vm_next;
if (shmd->vm_ops == &shm_vm_ops
&& shmd->vm_start -
(shmd->vm_pgoff << PAGE_SHIFT) == (ulong) shmaddr) {
- do_munmap(mm, shmd->vm_start,
shmd->vm_end - shmd->vm_start);
+ do_munmap(mm, shmd->vm_start,
shmd->vm_end - shmd->vm_start, 0);
retval = 0;
}
}

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/