Commit 4c8997c2 authored by Hirokazu Takata's avatar Hirokazu Takata Committed by Linus Torvalds

[PATCH] m32r: update arch/m32r/mm/fault.c to fix a compile error

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.htmlSigned-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d37fcff5
...@@ -182,7 +182,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, ...@@ -182,7 +182,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code,
goto bad_area; goto bad_area;
} }
#endif #endif
if (expand_stack(vma, address)) if (expand_stack(vma, address, NULL))
goto bad_area; goto bad_area;
/* /*
* Ok, we have a good vm_area for this memory access, so * Ok, we have a good vm_area for this memory access, so
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment