mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@osdl.org, akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] FRV: remove excess argument passed to expand_stack()
Date: Wed, 05 Jan 2005 14:29:53 +0000	[thread overview]
Message-ID: <28512.1104935393@redhat.com> (raw)


The attached patch removes the excess argument being passed to expand_stack()
as it isn't needed in -bk8.

Signed-Off-By: David Howells <dhowells@redhat.com>
---
warthog>diffstat frv-expstack-2610bk8.diff 
 fault.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff -uNrp /warthog/kernels/linux-2.6.10-bk8/arch/frv/mm/fault.c linux-2.6.10-bk8-frv/arch/frv/mm/fault.c
--- /warthog/kernels/linux-2.6.10-bk8/arch/frv/mm/fault.c	2005-01-05 13:21:26.000000000 +0000
+++ linux-2.6.10-bk8-frv/arch/frv/mm/fault.c	2005-01-05 13:30:50.667294388 +0000
@@ -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 datamm
 		}
 	}
 
-	/* 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;
 
 /*

                 reply	other threads:[~2005-01-05 14:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28512.1104935393@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome