Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36172
b: refs/heads/master
c: 930e652
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Sep 27, 2006
1 parent 04e00f4 commit f0202b6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0112c4c6461fed12ed9bcb249f967bc17a23f6c4
refs/heads/master: 930e652a21a08986b03d1f370f933057dc0db2dc
10 changes: 10 additions & 0 deletions trunk/Documentation/nommu-mmap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ mode. The former through the usual mechanism, the latter through files created
on ramfs or tmpfs mounts.


=======
FUTEXES
=======

Futexes are supported in NOMMU mode if the arch supports them. An error will
be given if an address passed to the futex system call lies outside the
mappings made by a process or if the mapping in which the address lies does not
support futexes (such as an I/O chardev mapping).


=============
NO-MMU MREMAP
=============
Expand Down
14 changes: 9 additions & 5 deletions trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,15 @@ struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)
}
EXPORT_SYMBOL(find_vma);

/*
* find a VMA
* - we don't extend stack VMAs under NOMMU conditions
*/
struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr)
{
return find_vma(mm, addr);
}

/*
* look up the first VMA exactly that exactly matches addr
* - should be called with mm->mmap_sem at least held readlocked
Expand Down Expand Up @@ -1153,11 +1162,6 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
return NULL;
}

struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr)
{
return NULL;
}

int remap_pfn_range(struct vm_area_struct *vma, unsigned long from,
unsigned long to, unsigned long size, pgprot_t prot)
{
Expand Down

0 comments on commit f0202b6

Please sign in to comment.