summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ioperm.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-18 07:03:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-18 07:03:24 +0000
commit010301e968b4aa9a37dfd437f89c054016b2de0f (patch)
treebf1116a74701db706ca4d4bedb48c4bd04c33dfd /libc/sysdeps/linux/common/ioperm.c
parentaa5490a851eed8100e9959f35bb1a20fc0353dba (diff)
tweak the idea between having a MMU and actually using it
Diffstat (limited to 'libc/sysdeps/linux/common/ioperm.c')
-rw-r--r--libc/sysdeps/linux/common/ioperm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index fc57a97e1..e9ca964cc 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -8,7 +8,7 @@
*/
#include "syscalls.h"
-#if defined __ARCH_HAS_MMU__ && defined __NR_ioperm
+#if defined __ARCH_USE_MMU__ && defined __NR_ioperm
/* psm: can't #include <sys/io.h>, some archs miss it */
extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW;
_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);