diff options
author | David Howells <dhowells@redhat.com> | 2009-05-07 10:41:37 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-07 19:03:41 (GMT) |
commit | 8c9ed899b44c19e81859fbb0e9d659fe2f8630fc (patch) | |
tree | 6cc4ebd5d050accad0d706e596f8ea1609d26bc9 | |
parent | ee7fee0b91ceb1c057c67fcc573b2d8dfe6d92c5 (diff) | |
download | linux-8c9ed899b44c19e81859fbb0e9d659fe2f8630fc.tar.xz |
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>
-rw-r--r-- | mm/nommu.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) { |