summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2025-03-11 08:17:48 -0700
committer Elliott Hughes <enh@google.com> 2025-03-18 05:14:47 -0700
commit0d81e9de89e5605e8bd2e58bdac38b9b834960d5 (patch)
tree0cdf4a7c5f1fbbf8323fb52d2d4c7f47173262da
parent5b8e94a0006aeee9de3e229291b28a2b19878492 (diff)
libartbase (utils.cc): remove unused includes.
membarrier(2) support was pulled into its own file. Change-Id: Id5259b2675abecede57b1c4bd4050494771fc38a
-rw-r--r--libartbase/base/utils.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libartbase/base/utils.cc b/libartbase/base/utils.cc
index efb727f950..3f057604c1 100644
--- a/libartbase/base/utils.cc
+++ b/libartbase/base/utils.cc
@@ -44,13 +44,6 @@
#include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED
#endif
-#if defined(__BIONIC__)
-// membarrier(2) is only supported for target builds (b/111199492).
-#include <linux/membarrier.h>
-// NOLINTNEXTLINE - inclusion of syscall is dependent on arch
-#include <sys/syscall.h>
-#endif
-
#if defined(__linux__)
#include <linux/unistd.h>
// NOLINTNEXTLINE - inclusion of syscall is dependent on arch