]> git.hungrycats.org Git - linux/commitdiff
[PATCH] m32r: update arch/m32r/mm/fault.c to fix a compile error
authorHirokazu Takata <takata@linux-m32r.org>
Mon, 18 Oct 2004 16:05:30 +0000 (09:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:05:30 +0000 (09:05 -0700)
Here is a patch to update arch/m32r/mm/fault.c in order to fix
a compile error of -mm kernel for m32r.

* arch/m32r/mm/fault.c:
- Add the third parameter of expand_stack().
  This modification is derived from
  enforce-a-gap-between-heap-and-stack.patch;

  "heap-stack-gap for 2.6" (Sep. 25, 2004)
  http://www.uwsg.iu.edu/hypermail/linux/kernel/0409.3/0435.html

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/mm/fault.c

index 393ff03ae73d878baba0287635d6e86de7092818..12869e355f0b725ca9f3125ca23380c5ee9d5cdd 100644 (file)
@@ -182,7 +182,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code,
                        goto bad_area;
        }
 #endif
-       if (expand_stack(vma, address))
+       if (expand_stack(vma, address, NULL))
                goto bad_area;
 /*
  * Ok, we have a good vm_area for this memory access, so