Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vmalloc: allow reserved space to be defined in config

Change-Id: I03d8689922866eaee1aa689a12de66e1e77b6194
  • Loading branch information...
commit bc9fe252968b0b0c9250bad18cf336e12555916c 1 parent 0ed4d05
@dalingrin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  arch/arm/mm/mmu.c
View
2  arch/arm/mm/mmu.c
@@ -676,7 +676,7 @@ void __init iotable_init(struct map_desc *io_desc, int nr)
create_mapping(io_desc + i);
}
-static void * __initdata vmalloc_min = (void *)(VMALLOC_END - SZ_128M);
+static void * __initdata vmalloc_min = (void *)(VMALLOC_END - CONFIG_VMALLOC_RESERVE);
/*
* vmalloc=size forces the vmalloc area to be exactly 'size'
Please sign in to comment.
Something went wrong with that request. Please try again.