Some architectures (like s390, microblaze and etc...) require size of the first memory region. This patch set provides new memblock_first_region_size() helper for this case and change usage of memblock.memory.regions[0].size on memblock_first_region_size() for the following architectures: * s390 * microblaze * arm * unicore32 Changelog: v2: Added changes in the architectures to the patchset. Alexander Kuleshov (5): mm/memblock: Introduce memblock_first_region_size() helper s390/setup: use memblock_first_region_size helper microblaze/mm: Use memblock_first_region_size() helper unicore32/mmu: use memblock_first_region_size() helper arm/mmu: Use memblock_first_region_size() helper arch/arm/mm/mmu.c | 2 +- arch/microblaze/mm/init.c | 6 +++--- arch/s390/kernel/setup.c | 2 +- arch/unicore32/mm/mmu.c | 2 +- include/linux/memblock.h | 1 + mm/memblock.c | 5 +++++ 6 files changed, 12 insertions(+), 6 deletions(-) -- 2.5.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>