Commit 24cb2e6b authored by David Howells's avatar David Howells Committed by Linus Torvalds

[PATCH] frv: 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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 68229583
......@@ -87,10 +87,10 @@ static inline int is_user_addr_valid(struct task_struct *child,
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;
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment