NOMMU: Don't check vm_region::vm_start is page aligned in add_nommu_region()
authorDavid Howells <dhowells@redhat.com>
Thu, 7 May 2009 10:41:37 +0000 (11:41 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 May 2009 19:03:41 +0000 (12:03 -0700)
commit8c9ed899b44c19e81859fbb0e9d659fe2f8630fc
tree6cc4ebd5d050accad0d706e596f8ea1609d26bc9
parentee7fee0b91ceb1c057c67fcc573b2d8dfe6d92c5
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>
mm/nommu.c