projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7fee0
)
NOMMU: Don't check vm_region::vm_start is page aligned in add_nommu_region()
author
David Howells
<dhowells@redhat.com>
Thu, 7 May 2009 10:41:37 +0000
(11:41 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 7 May 2009 19:03:41 +0000
(12:03 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/mm/nommu.c
b/mm/nommu.c
index 67cd1a487ee63ee11ca0f372c0f76c6f1f61fcc7..b571ef707428c5e171fa27b7fc09d0212018c5df 100644
(file)
--- 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) {