diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index 809998aa7b50..b571ef707428 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -66,7 +66,7 @@ struct percpu_counter vm_committed_as; | |||
66 | int sysctl_overcommit_memory = OVERCOMMIT_GUESS; /* heuristic overcommit */ | 66 | int sysctl_overcommit_memory = OVERCOMMIT_GUESS; /* heuristic overcommit */ |
67 | int sysctl_overcommit_ratio = 50; /* default is 50% */ | 67 | int sysctl_overcommit_ratio = 50; /* default is 50% */ |
68 | int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT; | 68 | int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT; |
69 | int sysctl_nr_trim_pages = 1; /* page trimming behaviour */ | 69 | int sysctl_nr_trim_pages = CONFIG_NOMMU_INITIAL_TRIM_EXCESS; |
70 | int heap_stack_gap = 0; | 70 | int heap_stack_gap = 0; |
71 | 71 | ||
72 | atomic_long_t mmap_pages_allocated; | 72 | atomic_long_t mmap_pages_allocated; |
@@ -515,8 +515,6 @@ static void add_nommu_region(struct vm_region *region) | |||
515 | 515 | ||
516 | validate_nommu_regions(); | 516 | validate_nommu_regions(); |
517 | 517 | ||
518 | BUG_ON(region->vm_start & ~PAGE_MASK); | ||
519 | |||
520 | parent = NULL; | 518 | parent = NULL; |
521 | p = &nommu_region_tree.rb_node; | 519 | p = &nommu_region_tree.rb_node; |
522 | while (*p) { | 520 | while (*p) { |