From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzQP2-0007HY-Ex for qemu-devel@nongnu.org; Thu, 30 Apr 2009 03:09:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzQP1-0007HB-WB for qemu-devel@nongnu.org; Thu, 30 Apr 2009 03:09:52 -0400 Received: from [199.232.76.173] (port=38031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzQP1-0007H8-Qt for qemu-devel@nongnu.org; Thu, 30 Apr 2009 03:09:51 -0400 Received: from mx20.gnu.org ([199.232.41.8]:40610) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzQP1-0005x7-6m for qemu-devel@nongnu.org; Thu, 30 Apr 2009 03:09:51 -0400 Received: from dd21438.kasserver.com ([85.13.141.110]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzQP0-0002De-Kl for qemu-devel@nongnu.org; Thu, 30 Apr 2009 03:09:50 -0400 Message-ID: <49F94EBD.8040208@opensuse.org> Date: Thu, 30 Apr 2009 09:09:49 +0200 From: Martin Mohring MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 01/10] export mmap_find_vma for shmat References: <1241028203-19687-1-git-send-email-riku.voipio@iki.fi> In-Reply-To: <1241028203-19687-1-git-send-email-riku.voipio@iki.fi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: riku.voipio@iki.fi Cc: qemu-devel@nongnu.org riku.voipio@iki.fi wrote: > From: Riku Voipio > > since mmap_find_vma rewrite is being passively refused, drop it > for now, and just export the existing function. > > Signed-off-by: Riku Voipio > --- > linux-user/mmap.c | 2 +- > linux-user/qemu.h | 1 + > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/linux-user/mmap.c b/linux-user/mmap.c > index 6f300a0..aa5813f 100644 > --- a/linux-user/mmap.c > +++ b/linux-user/mmap.c > @@ -281,7 +281,7 @@ unsigned long last_brk; > */ > /* page_init() marks pages used by the host as reserved to be sure not > to use them. */ > -static abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) > +abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size) > { > abi_ulong addr, addr1, addr_start; > int prot; > diff --git a/linux-user/qemu.h b/linux-user/qemu.h > index 447caf9..15db106 100644 > --- a/linux-user/qemu.h > +++ b/linux-user/qemu.h > @@ -229,6 +229,7 @@ int target_msync(abi_ulong start, abi_ulong len, int flags); > extern unsigned long last_brk; > void mmap_lock(void); > void mmap_unlock(void); > +abi_ulong mmap_find_vma(abi_ulong, abi_ulong); > void cpu_list_lock(void); > void cpu_list_unlock(void); > #if defined(USE_NPTL) > As I commented I combine this patch with patch 2+6 of the same series.