aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mmap.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-09-09 16:07:29 +0200
committerSverker Eriksson <[email protected]>2013-09-30 17:45:46 +0200
commitc8f87b4ec91b67c9d3373c8466a07db638e32cc2 (patch)
tree6914d34bca9898aa1357771a4e45a5438aa1feee /erts/emulator/sys/common/erl_mmap.h
parentac32bccf21354d7e6896d8b83b6e9a45bb1bccd7 (diff)
downloadotp-c8f87b4ec91b67c9d3373c8466a07db638e32cc2.tar.gz
otp-c8f87b4ec91b67c9d3373c8466a07db638e32cc2.tar.bz2
otp-c8f87b4ec91b67c9d3373c8466a07db638e32cc2.zip
erts: Allow page aligned erts_munmap()
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 b75200f4e9..6cb51fb0b4 100644
--- a/erts/emulator/sys/common/erl_mmap.h
+++ b/erts/emulator/sys/common/erl_mmap.h
@@ -53,7 +53,7 @@ typedef struct {
{{NULL, NULL}, {NULL, NULL}, 0, 1, (1 << 16), 1}
void *erts_mmap(Uint32 flags, UWord *sizep);
-void erts_munmap(Uint32 flags, void **ptrp, UWord *sizep);
+void erts_munmap(Uint32 flags, void *ptr, UWord size);
void *erts_mremap(Uint32 flags, void *ptr, UWord old_size, UWord *sizep);
int erts_mmap_in_supercarrier(void *ptr);
void erts_mmap_init(ErtsMMapInit*);