[PATCH 2.6.9-rc4-mm1] [m32r] Update arch/m32r/mm/fault.c to fix acompile error

From: Hirokazu Takata
Date: Tue Oct 12 2004 - 05:53:34 EST


Here is a patch to update arch/m32r/mm/fault.c in order to fix
a compile error of -mm kernel for m32r.

Please apply.

* 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

Regards,

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
---

arch/m32r/mm/fault.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -ruNp a/arch/m32r/mm/fault.c b/arch/m32r/mm/fault.c
--- a/arch/m32r/mm/fault.c 2004-10-12 09:34:39.000000000 +0900
+++ b/arch/m32r/mm/fault.c 2004-10-12 10:35:21.000000000 +0900
@@ -182,7 +182,7 @@ asmlinkage void do_page_fault(struct pt_
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

--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/