mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 09:20:14 -05:00
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 <[email protected]> Acked-by: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ee7fee0b91
commit
8c9ed899b4
1 changed files with 0 additions and 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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue