summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2002-11-07 00:56:27 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-11-07 00:56:27 -0800
commit8aa1cb75c8799520a0734df53ea6940464b0add3 (patch)
tree6ad07e115077c2afcf4cb9b0f342d50c9aae14d6 /fs/exec.c
parent4c312efdd5028c684bf978ff593945a76b934758 (diff)
[PATCH] CONFIG_STACK_GROWSUP
Change ARCH_STACK_GROWSUP to CONFIG_STACK_GROWSUP as requested.
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 03dbde9cd077..4ce313a15bfd 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -331,7 +331,7 @@ int setup_arg_pages(struct linux_binprm *bprm)
struct mm_struct *mm = current->mm;
int i;
-#ifdef ARCH_STACK_GROWSUP
+#ifdef CONFIG_STACK_GROWSUP
/* Move the argument and environment strings to the bottom of the
* stack space.
*/
@@ -390,7 +390,7 @@ int setup_arg_pages(struct linux_binprm *bprm)
down_write(&mm->mmap_sem);
{
mpnt->vm_mm = mm;
-#ifdef ARCH_STACK_GROWSUP
+#ifdef CONFIG_STACK_GROWSUP
mpnt->vm_start = stack_base;
mpnt->vm_end = PAGE_MASK &
(PAGE_SIZE - 1 + (unsigned long) bprm->p);