lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] FRV-arch nommu changes
Date

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.811 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site