Make sure vm_kmem_size is aligned on a page boundary, since that's what vmem
expects.
This commit is contained in:
parent
cdc00bf7d2
commit
c76853ec15
@ -165,8 +165,8 @@
|
||||
* Ceiling on the size of the kmem submap: 40% of the kernel map.
|
||||
*/
|
||||
#ifndef VM_KMEM_SIZE_MAX
|
||||
#define VM_KMEM_SIZE_MAX ((vm_max_kernel_address - \
|
||||
VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5)
|
||||
#define VM_KMEM_SIZE_MAX (((vm_max_kernel_address - \
|
||||
VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5) &~ PAGE_MASK)
|
||||
#endif
|
||||
|
||||
#ifdef ARM_USE_SMALL_ALLOC
|
||||
|
Loading…
x
Reference in New Issue
Block a user