diff options
| author | Matthew Wilcox <willy@debian.org> | 2002-11-07 00:56:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-11-07 00:56:27 -0800 |
| commit | 8aa1cb75c8799520a0734df53ea6940464b0add3 (patch) | |
| tree | 6ad07e115077c2afcf4cb9b0f342d50c9aae14d6 /fs/exec.c | |
| parent | 4c312efdd5028c684bf978ff593945a76b934758 (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.c | 4 |
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); |
