memblock: Use __meminit[data] instead of __init[data]
authorTejun Heo <tj@kernel.org>
Thu, 14 Jul 2011 09:42:03 +0000 (11:42 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 14 Jul 2011 18:47:42 +0000 (11:47 -0700)
commit67e24bcb725cabd15ef577bf301275d03d6086d7
treec63765f42ba9f7749796c7204a97b8ceaf52db2f
parent784656f9c680d334e7b4cdb6951c5c913e5a26bf
memblock: Use __meminit[data] instead of __init[data]

From 19ab281ed67b87a6623d725237a7333ca79f1e75 Mon Sep 17 00:00:00 2001
From: Tejun Heo <tj@kernel.org>
Date: Thu, 14 Jul 2011 11:22:16 +0200

memblock will be extended to include early_node_map[], which is also
used during memory hotplug.  Make memblock use __meminit[data] instead
of __init[data] so that memory hotplug code can safely reference it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20110714094203.GE3455@htj.dyndns.org
Reported-by: Yinghai Lu <yinghai@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/linux/memblock.h