diff options
author | David Howells <dhowells@redhat.com> | 2009-05-07 11:41:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-07 12:03:41 -0700 |
commit | 8c9ed899b44c19e81859fbb0e9d659fe2f8630fc (patch) | |
tree | 6cc4ebd5d050accad0d706e596f8ea1609d26bc9 | |
parent | ee7fee0b91ceb1c057c67fcc573b2d8dfe6d92c5 (diff) | |
download | linux-8c9ed899b44c19e81859fbb0e9d659fe2f8630fc.tar.gz linux-8c9ed899b44c19e81859fbb0e9d659fe2f8630fc.tar.bz2 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>
-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) { |