summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-08 19:22:08 +0100
committerTejun Heo <tj@kernel.org>2011-12-08 19:22:08 +0100
commit1440c4e2c918532f39131c3330fe2226e16be7b6 (patch)
tree316b945da272f43bdb88d295c48926e471e47fad /arch/sh/mm
parentpowerpc: Cleanup memblock usage (diff)
downloadlinux-1440c4e2c918532f39131c3330fe2226e16be7b6.tar.xz
linux-1440c4e2c918532f39131c3330fe2226e16be7b6.zip
memblock: Track total size of regions automatically
Total size of memory regions was calculated by memblock_analyze() requiring explicitly calling the function between operations which can change memory regions and possible users of total size, which is cumbersome and fragile. This patch makes each memblock_type track total size automatically with minor modifications to memblock manipulation functions and remove requirements on calling memblock_analyze(). [__]memblock_dump_all() now also dumps the total size of reserved regions. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions