summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2025-03-14 07:35:05 -0700
committer Elliott Hughes <enh@google.com> 2025-03-19 05:26:23 -0700
commit8a23cf5602e5f7293111bec325df14eff39e2a04 (patch)
tree2cac1cf4a7b765ea84b024816c6a12efa902877e
parent72810fa753e98c8347cfee63fb3bf43e4ebe2541 (diff)
Don't redefine MREMAP_DONTUNMAP.
This is in all our linux headers now. Change-Id: Ib88cdbf54883d3ad88dc4d61ee8c0583427a670d
-rw-r--r--runtime/gc/collector/mark_compact.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/gc/collector/mark_compact.cc b/runtime/gc/collector/mark_compact.cc
index dd95ec16bb..82f5e1baf5 100644
--- a/runtime/gc/collector/mark_compact.cc
+++ b/runtime/gc/collector/mark_compact.cc
@@ -65,12 +65,6 @@
#include "com_android_art_flags.h"
#endif
-#ifndef __BIONIC__
-#ifndef MREMAP_DONTUNMAP
-#define MREMAP_DONTUNMAP 4
-#endif
-#endif // __BIONIC__
-
// See aosp/2996596 for where these values came from.
#ifndef UFFDIO_COPY_MODE_MMAP_TRYLOCK
#define UFFDIO_COPY_MODE_MMAP_TRYLOCK (static_cast<uint64_t>(1) << 63)