aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2009-04-21 17:23:23 +0300
committerRiku Voipio <riku.voipio@nokia.com>2009-06-16 16:56:28 +0300
commit9ad197d95c17f0274067855e04dc682810b2c708 (patch)
tree0ceaab2661098438808c1e0f01cdd79550fc2b2e /linux-user/mmap.c
parentIncorporate changes from v2 of Gleb's RTC reset patch (diff)
downloadqemu-kvm-9ad197d95c17f0274067855e04dc682810b2c708.tar.gz
qemu-kvm-9ad197d95c17f0274067855e04dc682810b2c708.tar.bz2
qemu-kvm-9ad197d95c17f0274067855e04dc682810b2c708.zip
export mmap_find_vma for shmat
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user/mmap.c')
-rw-r--r--linux-user/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 6f300a040..aa5813f14 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;