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>
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