[PATCH 0/5 v2] mm/memblock: Introduce memblock_first_region_size() helper

From: Alexander Kuleshov
Date: Tue Sep 01 2015 - 10:26:18 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/