Skip to content
Browse files

vmalloc: allow reserved space to be defined in config

Change-Id: I03d8689922866eaee1aa689a12de66e1e77b6194
  • Loading branch information...
1 parent 0ed4d05 commit bc9fe252968b0b0c9250bad18cf336e12555916c @dalingrin committed Jan 12, 2012
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'

0 comments on commit bc9fe25

Please sign in to comment.
Something went wrong with that request. Please try again.