Tejun Heo fe091c208a memblock: Kill memblock_init()
memblock_init() initializes arrays for regions and memblock itself;
however, all these can be done with struct initializers and
memblock_init() can be removed.  This patch kills memblock_init() and
initializes memblock with struct initializer.

The only difference is that the first dummy entries don't have .nid
set to MAX_NUMNODES initially.  This doesn't cause any behavior
difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: "H. Peter Anvin" <hpa@zytor.com>
2011-12-08 10:22:07 -08:00
..
2011-07-22 18:46:41 +02:00
2011-09-11 09:50:39 +02:00
2011-07-22 18:46:27 +02:00
2011-07-22 18:46:27 +02:00
2011-07-22 18:46:35 +02:00
2011-07-22 18:46:27 +02:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:30 +02:00
2011-07-22 18:46:37 +02:00
2011-07-22 18:46:41 +02:00
2011-12-08 10:22:07 -08:00
2011-07-22 18:46:31 +02:00
2011-07-22 18:46:27 +02:00
2011-07-22 18:46:34 +02:00
2011-07-22 18:46:34 +02:00
2011-07-22 18:46:32 +02:00
2011-07-22 18:46:38 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:30 +02:00