diff options
author | Reid Kleckner <rnk@google.com> | 2017-11-08 01:33:15 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-11-08 01:33:15 +0000 |
commit | 3806f9ea105f0e9554d87862d81caeadb81d44f6 (patch) | |
tree | ef7f32f4eb63c256d6fed8307dfded142465578d /lib/sanitizer_common/sanitizer_fuchsia.cc | |
parent | 644af7779f086cb428b7b76da5509348e3a2358f (diff) |
Revert "[scudo] Make getNumberOfCPUs Fuchsia compliant"
This reverts commit r317604.
Android doesn't have cpu_set_t.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_fuchsia.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_fuchsia.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sanitizer_common/sanitizer_fuchsia.cc b/lib/sanitizer_common/sanitizer_fuchsia.cc index 45104e5bc..97dff0d8b 100644 --- a/lib/sanitizer_common/sanitizer_fuchsia.cc +++ b/lib/sanitizer_common/sanitizer_fuchsia.cc @@ -520,10 +520,6 @@ bool GetRandom(void *buffer, uptr length, bool blocking) { return true; } -u32 GetNumberOfCPUs() { - return zx_system_get_num_cpus(); -} - } // namespace __sanitizer using namespace __sanitizer; // NOLINT |