Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd184a01 authored by Satyam Sharma's avatar Satyam Sharma Committed by Dave Jones
Browse files

[CPUFREQ] mark hotplug notifier callback as __cpuinit



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: default avatarSatyam Sharma <satyam@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 6afde10c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1730,7 +1730,7 @@ int cpufreq_update_policy(unsigned int cpu)
}
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;