FRV-arch nommu changes
PATCH 3/3 FRV-arch nommu changes
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 <[email protected]>
---
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(-)
arch/frv/kernel/ptrace.c renamed from warthog/kernels/linux-2.6.10-rc2-mm1/arch/frv/kernel/ptrace.c +3 -3
@@ -87,10 +87,10 @@ static inline int is_user_addr_valid(strreturn -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 ;
include/asm-frv/mmu.h renamed from warthog/kernels/linux-2.6.10-rc2-mm1/include/asm-frv/mmu.h +1 -1
@@ -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