diff options
author | David Howells <dhowells@redhat.com> | 2009-05-07 12:41:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-07 21:03:41 +0200 |
commit | 8c9ed899b44c19e81859fbb0e9d659fe2f8630fc (patch) | |
tree | 6cc4ebd5d050accad0d706e596f8ea1609d26bc9 /mm/nommu.c | |
parent | Merge branch 'for-linus' of git://neil.brown.name/md (diff) | |
download | linux-8c9ed899b44c19e81859fbb0e9d659fe2f8630fc.tar.xz linux-8c9ed899b44c19e81859fbb0e9d659fe2f8630fc.zip |
NOMMU: Don't check vm_region::vm_start is page aligned in add_nommu_region()
Don't check vm_region::vm_start is page aligned in add_nommu_region() because
the region may reflect some non-page-aligned mapped file, such as could be
obtained from RomFS XIP.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index 67cd1a487ee6..b571ef707428 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -515,8 +515,6 @@ static void add_nommu_region(struct vm_region *region) validate_nommu_regions(); - BUG_ON(region->vm_start & ~PAGE_MASK); - parent = NULL; p = &nommu_region_tree.rb_node; while (*p) { |