aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-29 08:46:59 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-29 08:47:05 -0400
commite7fd5d4b3d240f42c30a9e3d20a4689c4d3a795a (patch)
tree4ba588631dd8189a818a91c9e3976526071178b6 /mm/mmap.c
parent1130b0296184bc21806225fd06d533515a99d2db (diff)
parent56a50adda49b2020156616c4eb15353e0f9ad7de (diff)
Merge branch 'linus' into perfcounters/core
Merge reason: This brach was on -rc1, refresh it to almost-rc4 to pick up the latest upstream fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 1df63f614f97..8a49df4c7363 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1579,7 +1579,7 @@ static int acct_stack_growth(struct vm_area_struct *vma, unsigned long size, uns
1579 * Overcommit.. This must be the final test, as it will 1579 * Overcommit.. This must be the final test, as it will
1580 * update security statistics. 1580 * update security statistics.
1581 */ 1581 */
1582 if (security_vm_enough_memory(grow)) 1582 if (security_vm_enough_memory_mm(mm, grow))
1583 return -ENOMEM; 1583 return -ENOMEM;
1584 1584
1585 /* Ok, everything looks good - let it rip */ 1585 /* Ok, everything looks good - let it rip */