aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mmap.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-12 14:52:21 +0200
committerSverker Eriksson <[email protected]>2016-04-15 19:00:34 +0200
commit90641d82a4b07e6b0be142d07ac85107b8ebee9d (patch)
treedff7b35bbdcfa4aa67a4ef0c33352fb9eed6250f /erts/emulator/sys/common/erl_mmap.h
parent499a872d5f6ea09d23eb7b04ea5de2f6d3fabd98 (diff)
downloadotp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.tar.gz
otp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.tar.bz2
otp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.zip
erts: Make ErtsMemMapper able to map memory with PROT_EXEC
to prepare for hipe native code allocation.
Diffstat (limited to 'erts/emulator/sys/common/erl_mmap.h')
-rw-r--r--erts/emulator/sys/common/erl_mmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mmap.h b/erts/emulator/sys/common/erl_mmap.h
index 7c5ddbec0b..30548bd0b0 100644
--- a/erts/emulator/sys/common/erl_mmap.h
+++ b/erts/emulator/sys/common/erl_mmap.h
@@ -61,7 +61,7 @@ void *erts_mmap(ErtsMemMapper*, Uint32 flags, UWord *sizep);
void erts_munmap(ErtsMemMapper*, Uint32 flags, void *ptr, UWord size);
void *erts_mremap(ErtsMemMapper*, Uint32 flags, void *ptr, UWord old_size, UWord *sizep);
int erts_mmap_in_supercarrier(ErtsMemMapper*, void *ptr);
-void erts_mmap_init(ErtsMemMapper*, ErtsMMapInit*);
+void erts_mmap_init(ErtsMemMapper*, ErtsMMapInit*, int executable);
struct erts_mmap_info_struct
{
UWord sizes[6];