memblock: Introduce for_each_memblock() and new accessors
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 Aug 2010 03:40:38 +0000 (13:40 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 Aug 2010 04:38:57 +0000 (14:38 +1000)
commit5b385f259fa4d356452e3b4729cbaf5213f4f55b
tree17bfa3a22d367eb80b4720275579407917a70f4b
parentdbe3039e64b1dd4cf26f782d45b524f85b444ad4
memblock: Introduce for_each_memblock() and new accessors

Walk memblock's using for_each_memblock() and use memblock_region_base/end_pfn() for
getting to PFNs.

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