memblock: Remove memblock_type.size and add memblock.memory_size instead
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Jul 2010 04:31:29 +0000 (14:31 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:11 +0000 (12:56 +1000)
commit4734b594c6ca1be796d30c82d93fdf5160f45124
tree72443c76c7d4c0cade456cc21997f383417747de
parent9d3c30f5a17ec35894eadb7171f724643dce19c3
memblock: Remove memblock_type.size and add memblock.memory_size instead

Right now, both the "memory" and "reserved" memblock_type structures have
a "size" member. It represents the calculated memory size in the former
case and is unused in the latter.

This moves it out to the main memblock structure instead

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/mem.c
include/linux/memblock.h
mm/memblock.c