From: Satyam Sharma Date: Tue, 2 Oct 2007 20:28:15 +0000 (-0700) Subject: [CPUFREQ] cpufreq_stats: misc cpuinit section annotations X-Git-Tag: v2.6.24-rc1~1396^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55395ae72b6e5ae614d28df74158c47454652583;p=pandora-kernel.git [CPUFREQ] cpufreq_stats: misc cpuinit section annotations * Stop referencing the callback directly from the __init and __exit functions of this driver, and instead explicitly call cpufreq_update_policy() et al. This enables the callback function to be marked as __cpuinit (and the notifier_block __cpuinitdata), thereby saving space when HOTPLUG_CPU=n. This also enables us to use other tricks to replace __cpuinit{data} in future. * cpufreq_stats_free_table() is only called from __cpuinit or __exit marked functions, making it an ideal candidate for __cpuexit. * Fix missing space in the module description Signed-off-by: Satyam Sharma Signed-off-by: Andrew Morton Signed-off-by: Dave Jones --- Reading git-diff-tree failed