From: Mike Fedyk <mfedyk@matchmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Adrian Bunk <bunk@fs.tum.de>, linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.19pre3-ac2
Date: Tue, 19 Mar 2002 11:01:37 -0800 [thread overview]
Message-ID: <20020319190137.GU2254@matchmail.com> (raw)
In-Reply-To: <Pine.NEB.4.44.0203191938530.3932-100000@mimas.fachschaften.tu-muenchen.de> <E16nOpi-0008SY-00@the-village.bc.nu>
On Tue, Mar 19, 2002 at 06:59:42PM +0000, Alan Cox wrote:
> > gcc -D__KERNEL__ -I/home/bunk/linux/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -DKBUILD_BASENAME=shm -c -o shm.o shm.c
> > shm.c: In function `sys_shmdt':
> > shm.c:682: too few arguments to function `do_munmap'
>
> Whoops - stick a ,1 on it
Then this patch should do it then...
--- ipc/shm.c.orig Tue Mar 19 10:58:06 2002
+++ ipc/shm.c Tue Mar 19 10:59:57 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, 1);
retval = 0;
}
}
next prev parent reply other threads:[~2002-03-19 19:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-19 17:28 Linux 2.4.19pre3-ac2 Alan Cox
2002-03-19 17:57 ` Adrian Bunk
2002-03-19 18:43 ` Randy.Dunlap
2002-03-19 23:56 ` Randy.Dunlap
2002-03-20 0:14 ` Alan Cox
2002-03-19 18:42 ` Adrian Bunk
2002-03-19 18:59 ` Alan Cox
2002-03-19 19:01 ` Mike Fedyk [this message]
2002-03-20 9:49 ` Christoph Hellwig
2002-03-20 17:54 ` Christoph Hellwig
2002-03-20 23:54 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2002-03-19 18:52 willy tarreau
2002-03-19 19:08 ` Mike Fedyk
2002-03-19 19:45 ` willy tarreau
2002-03-19 19:35 willy tarreau
2002-03-19 20:02 ` Alan Cox
2002-03-19 21:29 ` willy tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020319190137.GU2254@matchmail.com \
--to=mfedyk@matchmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox