All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: akpm@osdl.org, torvalds@osdl.org, davidm@snapgear.com, hch@infradead.org
Cc: linux-kernel@vger.kernel.org, uclinux-dev@uclinux.org
Subject: [PATCH 3/3] FRV-arch nommu changes
Date: Tue, 16 Nov 2004 19:36:06 +0000	[thread overview]
Message-ID: <3620.1100633766@redhat.com> (raw)


The attached patch changes the nommu bits of the FRV arch to incorporate the
name changes made to the nommu core stuff.

Signed-Off-By: David Howells <dhowells@redhat.com>
---
warthog>diffstat nommu-frv-2610rc2mm1.diff 
 arch/frv/kernel/ptrace.c |    6 +++---
 include/asm-frv/mmu.h    |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -uNrp /warthog/kernels/linux-2.6.10-rc2-mm1/arch/frv/kernel/ptrace.c linux-2.6.10-rc2-mm1-frv/arch/frv/kernel/ptrace.c
--- /warthog/kernels/linux-2.6.10-rc2-mm1/arch/frv/kernel/ptrace.c	2004-11-16 11:31:18.684966548 +0000
+++ linux-2.6.10-rc2-mm1-frv/arch/frv/kernel/ptrace.c	2004-11-16 16:38:04.650376432 +0000
@@ -87,10 +87,10 @@ static inline int is_user_addr_valid(str
 		return -EIO;
 	return 0;
 #else
-	struct mm_tblock_struct *tblock;
+	struct vm_list_struct *vml;
 
-	for (tblock = child->mm->context.tblock; tblock; tblock = tblock->next)
-		if (start >= tblock->vma->vm_start && start + len <= tblock->vma->vm_end)
+	for (vml = child->mm->context.vmlist; vml; vml = vml->next)
+		if (start >= vml->vma->vm_start && start + len <= vml->vma->vm_end)
 			return 0;
 
 	return -EIO;
diff -uNrp /warthog/kernels/linux-2.6.10-rc2-mm1/include/asm-frv/mmu.h linux-2.6.10-rc2-mm1-frv/include/asm-frv/mmu.h
--- /warthog/kernels/linux-2.6.10-rc2-mm1/include/asm-frv/mmu.h	2004-11-16 11:31:44.793791239 +0000
+++ linux-2.6.10-rc2-mm1-frv/include/asm-frv/mmu.h	2004-11-16 16:39:14.354588536 +0000
@@ -22,7 +22,7 @@ typedef struct {
 	unsigned long	dtlb_ptd_mapping;	/* [DAMR5] PTD mapping for dtlb cached PGE */
 
 #else
-	struct mm_tblock_struct	*tblock;
+	struct vm_list_struct	*vmlist;
 	unsigned long		end_brk;
 
 #endif

                 reply	other threads:[~2004-11-16 19:40 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=3620.1100633766@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=davidm@snapgear.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=uclinux-dev@uclinux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.