All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] FRV-arch nommu changes
@ 2004-11-16 19:36 David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2004-11-16 19:36 UTC (permalink / raw)
  To: akpm, torvalds, davidm, hch; +Cc: linux-kernel, uclinux-dev


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-16 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16 19:36 [PATCH 3/3] FRV-arch nommu changes David Howells

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.