From: Satyam Sharma The notifier_block is already __cpuinitdata, thereby allowing us to safely mark the callback function as __cpuinit also, thereby saving space when HOTPLUG_CPU=n. Signed-off-by: Satyam Sharma Cc: Dave Jones Signed-off-by: Andrew Morton --- drivers/cpufreq/cpufreq.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/cpufreq/cpufreq.c~cpufreq-mark-hotplug-notifier-callback-as-__cpuinit drivers/cpufreq/cpufreq.c --- a/drivers/cpufreq/cpufreq.c~cpufreq-mark-hotplug-notifier-callback-as-__cpuinit +++ a/drivers/cpufreq/cpufreq.c @@ -1730,7 +1730,7 @@ int cpufreq_update_policy(unsigned int c } EXPORT_SYMBOL(cpufreq_update_policy); -static int cpufreq_cpu_callback(struct notifier_block *nfb, +static int __cpuinit cpufreq_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) { unsigned int cpu = (unsigned long)hcpu; _