summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mlockall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/mlockall.c')
-rw-r--r--libc/sysdeps/linux/common/mlockall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mlockall.c b/libc/sysdeps/linux/common/mlockall.c
index ea48811ae..6e6d3bc36 100644
--- a/libc/sysdeps/linux/common/mlockall.c
+++ b/libc/sysdeps/linux/common/mlockall.c
@@ -9,6 +9,6 @@
#include "syscalls.h"
#include <sys/mman.h>
-#if defined __ARCH_HAS_MMU__ && defined __NR_mlockall
+#if defined __ARCH_USE_MMU__ && defined __NR_mlockall
_syscall1(int, mlockall, int, flags);
#endif