aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mmap.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-09-03 17:57:30 +0200
committerSverker Eriksson <[email protected]>2015-09-11 15:41:59 +0200
commit997881b9046d3468685c545dc917e8204e0a9ef6 (patch)
tree7cf54fa36e5c157d49d484cef747dc7f3d98646e /erts/emulator/sys/common/erl_mmap.c
parente7df61f5efccd3ca106ebffb598455d0c5ea3dfd (diff)
downloadotp-997881b9046d3468685c545dc917e8204e0a9ef6.tar.gz
otp-997881b9046d3468685c545dc917e8204e0a9ef6.tar.bz2
otp-997881b9046d3468685c545dc917e8204e0a9ef6.zip
erts: Remove unused erts_have_erts_mmap
Diffstat (limited to 'erts/emulator/sys/common/erl_mmap.c')
-rw-r--r--erts/emulator/sys/common/erl_mmap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/sys/common/erl_mmap.c b/erts/emulator/sys/common/erl_mmap.c
index e6d0e1e281..eeaf96dd93 100644
--- a/erts/emulator/sys/common/erl_mmap.c
+++ b/erts/emulator/sys/common/erl_mmap.c
@@ -67,7 +67,6 @@
(((UWord) (PTR)) - ((UWord) mmap_state.sua.bot) \
< ((UWord) mmap_state.sua.top) - ((UWord) mmap_state.sua.bot)))
-int erts_have_erts_mmap;
UWord erts_page_inv_mask;
#if defined(DEBUG) || defined(ERTS_MMAP_DEBUG)
@@ -2131,8 +2130,6 @@ erts_mmap_init(ErtsMMapInit *init)
ERTS_MMAP_OP_RINGBUF_INIT();
- erts_have_erts_mmap = 0;
-
mmap_state.supercarrier = 0;
mmap_state.reserve_physical = reserve_noop;
mmap_state.unreserve_physical = unreserve_noop;
@@ -2206,8 +2203,6 @@ erts_mmap_init(ErtsMMapInit *init)
}
#endif
}
- if (!mmap_state.no_os_mmap)
- erts_have_erts_mmap |= ERTS_HAVE_ERTS_OS_MMAP;
#endif
mmap_state.no.free_seg_descs = 0;
@@ -2291,7 +2286,6 @@ erts_mmap_init(ErtsMMapInit *init)
init_free_seg_map(&mmap_state.sua.map, SZ_REVERSE_ADDR_ORDER);
mmap_state.supercarrier = 1;
- erts_have_erts_mmap |= ERTS_HAVE_ERTS_SUPERCARRIER_MMAP;
mmap_state.desc.new_area_hint = end;