commit | 2a4814df545a0645aff6fc04e5106877cc576945 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:08 2011 -0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Dec 08 10:22:08 2011 -0800 |
tree | 87c3f223590e548f01043d7008ab72bc13ac71b8 | |
parent | 1d7cfe18ec2eb2d0480a9b29465af66b61291202 [diff] |
sparc: Use HAVE_MEMBLOCK_NODE_MAP sparc doesn't access early_node_map[] directly and enabling HAVE_MEMBLOCK_NODE_MAP is trivial - replacing add_active_range() calls with memblock_set_node() and selecting HAVE_MEMBLOCK_NODE_MAP is enough. -v2: Use select in Kconfig instead as suggested by Sam Ravnborg. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: "David S. Miller" <davem@davemloft.net> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: sparclinux@vger.kernel.org