diff options
| author | David Howells <dhowells@redhat.com> | 2005-01-05 00:11:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-05 00:11:43 -0800 |
| commit | 51f1683d59f2ff3e7fc4580f3bf7323cd11c0cb8 (patch) | |
| tree | c7e288b541276ea41a175b9eec5dd2390448384c | |
| parent | 2eba191448b5bae6e39d98c90044f5a45f665a84 (diff) | |
[PATCH] FRV: remove excess argument passed to expand_stack()
This removes the excess argument being passed to expand_stack() as it
isn't needed in -bk8.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | arch/frv/mm/fault.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/frv/mm/fault.c b/arch/frv/mm/fault.c index 345dde934def..41d02ac48233 100644 --- a/arch/frv/mm/fault.c +++ b/arch/frv/mm/fault.c @@ -32,7 +32,7 @@ */ asmlinkage void do_page_fault(int datammu, unsigned long esr0, unsigned long ear0) { - struct vm_area_struct *vma, *prev_vma; + struct vm_area_struct *vma; struct mm_struct *mm; unsigned long _pme, lrai, lrad, fixup; siginfo_t info; @@ -120,12 +120,7 @@ asmlinkage void do_page_fault(int datammu, unsigned long esr0, unsigned long ear } } - /* find_vma_prev is just a bit slower, because it cannot use - * the mmap_cache, so we run it only in the growsdown slow - * path and we leave find_vma in the fast path. - */ - find_vma_prev(current->mm, ear0, &prev_vma); - if (expand_stack(vma, ear0, prev_vma)) + if (expand_stack(vma, ear0)) goto bad_area; /* |
