Messages in this thread Patch in this message | | | From | David Howells <> | Subject | [PATCH 3/3] FRV-arch nommu changes | Date | Tue, 16 Nov 2004 19:36:06 +0000 |
| |
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/
| |