Skip to content

Commit

Permalink
export mmap_find_vma for shmat
Browse files Browse the repository at this point in the history
Signed-off-by: Riku Voipio <[email protected]>
  • Loading branch information
suihkulokki authored and Riku Voipio committed Jun 16, 2009
1 parent 7271618 commit 9ad197d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions linux-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ad197d

Please sign in to comment.