From: Chandra Seetharaman Date: Tue, 27 Jun 2006 09:54:08 +0000 (-0700) Subject: [PATCH] cpu hotplug: make [un]register_cpu_notifier init time only X-Git-Tag: v2.6.18-rc1~541 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65edc68c345cbe21d0b0375c3452a3ed5e322868;p=pandora-kernel.git [PATCH] cpu hotplug: make [un]register_cpu_notifier init time only CPUs come online only at init time (unless CONFIG_HOTPLUG_CPU is defined). So, cpu_notifier functionality need to be available only at init time. This patch makes register_cpu_notifier() available only at init time, unless CONFIG_HOTPLUG_CPU is defined. This patch exports register_cpu_notifier() and unregister_cpu_notifier() only if CONFIG_HOTPLUG_CPU is defined. Signed-off-by: Chandra Seetharaman Cc: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed