From 010301e968b4aa9a37dfd437f89c054016b2de0f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Feb 2006 07:03:24 +0000 Subject: tweak the idea between having a MMU and actually using it --- libc/unistd/Makefile.in | 2 +- libc/unistd/exec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/unistd') 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. */ -- cgit v1.2.3