diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 07:03:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 07:03:24 +0000 |
commit | 010301e968b4aa9a37dfd437f89c054016b2de0f (patch) | |
tree | bf1116a74701db706ca4d4bedb48c4bd04c33dfd /libc/unistd | |
parent | aa5490a851eed8100e9959f35bb1a20fc0353dba (diff) |
tweak the idea between having a MMU and actually using it
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/Makefile.in | 2 | ||||
-rw-r--r-- | libc/unistd/exec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in index 198a4eab2..4a0bb0734 100644 --- a/libc/unistd/Makefile.in +++ b/libc/unistd/Makefile.in @@ -12,7 +12,7 @@ CSRC := $(notdir $(wildcard $(UNISTD_DIR)/*.c)) # multi source CSRC := $(filter-out exec.c,$(CSRC)) -ifeq ($(ARCH_HAS_MMU),y) +ifeq ($(ARCH_USE_MMU),y) CSRC := $(filter-out __exec_alloc.c,$(CSRC)) else CSRC := $(filter-out daemon.c,$(CSRC)) diff --git a/libc/unistd/exec.c b/libc/unistd/exec.c index 1e574825a..3563723ad 100644 --- a/libc/unistd/exec.c +++ b/libc/unistd/exec.c @@ -53,7 +53,7 @@ libc_hidden_proto(getenv) libc_hidden_proto(__environ) /**********************************************************************/ -#if defined(__ARCH_HAS_MMU__) || defined(__UCLIBC_UCLINUX_BROKEN_MUNMAP__) +#if defined(__ARCH_USE_MMU__) || defined(__UCLIBC_UCLINUX_BROKEN_MUNMAP__) /* We have an MMU, so use alloca() to grab space for buffers and * arg lists. Also fall back to alloca() if munmap() is broken. */ |