Revert "allocator: Disable uffd support for Musl"

No longer needed with use_partition_alloc=false on OpenWrt Musl.

This reverts commit b82b1a7cc7.
This commit is contained in:
klzgrad 2021-10-28 22:15:29 +08:00
parent 3cf3f3bdd5
commit 0aa27e8bd3

View File

@ -35,7 +35,7 @@ static_assert(sizeof(void*) != 8, "");
#endif #endif
#if defined(PA_HAS_64_BITS_POINTERS) && \ #if defined(PA_HAS_64_BITS_POINTERS) && \
(defined(OS_LINUX) || defined(OS_ANDROID)) && !defined(__MUSL__) (defined(OS_LINUX) || defined(OS_ANDROID))
#include <linux/version.h> #include <linux/version.h>
// TODO(bikineev): Enable for ChromeOS. // TODO(bikineev): Enable for ChromeOS.
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)