diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2006-06-27 02:54:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 17:32:41 -0700 |
commit | 74b85f3790aa2550c617fe14439482e13e615fa0 (patch) | |
tree | 125e9c503d483c304e111ca825358bd81e0610cd /drivers/base/topology.c | |
parent | 65edc68c345cbe21d0b0375c3452a3ed5e322868 (diff) | |
download | op-kernel-dev-74b85f3790aa2550c617fe14439482e13e615fa0.zip op-kernel-dev-74b85f3790aa2550c617fe14439482e13e615fa0.tar.gz |
[PATCH] cpu hotplug: make cpu_notifier related notifier blocks __cpuinit only
Make notifier_blocks associated with cpu_notifier as __cpuinitdata.
__cpuinitdata makes sure that the data is init time only unless
CONFIG_HOTPLUG_CPU is defined.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/base/topology.c')
-rw-r--r-- | drivers/base/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/topology.c b/drivers/base/topology.c index 915810f6..c2d6216 100644 --- a/drivers/base/topology.c +++ b/drivers/base/topology.c @@ -125,7 +125,7 @@ static int __cpuinit topology_cpu_callback(struct notifier_block *nfb, return NOTIFY_OK; } -static struct notifier_block topology_cpu_notifier = +static struct notifier_block __cpuinitdata topology_cpu_notifier = { .notifier_call = topology_cpu_callback, }; |