]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit785d0de5e065d4c9d284455c3cf66137cb833983
tree6cc4ebd5d050accad0d706e596f8ea1609d26bc9
parent8ee4c961046822761f40a88a28921717f487e3f2
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