Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123566
b: refs/heads/master
c: 9210807
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Pitre authored and Russell King committed Nov 28, 2008
1 parent a480223 commit baf4023
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6db015e49c03d42247d2a985475b833635406a4f
refs/heads/master: 9210807cb5a3f19a0e954dd401e3a2c3626d1b48
7 changes: 7 additions & 0 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,13 @@ static void __init early_vmalloc(char **arg)
"vmalloc area too small, limiting to %luMB\n",
vmalloc_reserve >> 20);
}

if (vmalloc_reserve > VMALLOC_END - (PAGE_OFFSET + SZ_32M)) {
vmalloc_reserve = VMALLOC_END - (PAGE_OFFSET + SZ_32M);
printk(KERN_WARNING
"vmalloc area is too big, limiting to %luMB\n",
vmalloc_reserve >> 20);
}
}
__early_param("vmalloc=", early_vmalloc);

Expand Down

0 comments on commit baf4023

Please sign in to comment.