OSDN Git Service

tweak the idea between having a MMU and actually using it
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / bits / posix_opt.h
index 3309891..b2cae9d 100644 (file)
 #define        _POSIX_MAPPED_FILES     200112L
 
 /* Locking of all memory is supported.  */
-#ifdef __ARCH_HAS_MMU__
+#ifdef __ARCH_USE_MMU__
 # define       _POSIX_MEMLOCK  200112L
 #else
 # undef                _POSIX_MEMLOCK
 #endif
 
 /* Locking of ranges of memory is supported.  */
-#ifdef __ARCH_HAS_MMU__
+#ifdef __ARCH_USE_MMU__
 # define       _POSIX_MEMLOCK_RANGE    200112L
 #else
 # define       _POSIX_MEMLOCK_RANGE
 #endif
 
 /* Setting of memory protections is supported.  */
-#ifdef __ARCH_HAS_MMU__
+#ifdef __ARCH_USE_MMU__
 # define       _POSIX_MEMORY_PROTECTION        1
 #else
 # undef                _POSIX_MEMORY_PROTECTION