aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSatyam Sharma <[email protected]>2007-10-02 13:28:15 -0700
committerDave Jones <[email protected]>2007-10-04 18:40:57 -0400
commit55395ae72b6e5ae614d28df74158c47454652583 (patch)
tree1e78d5102b5ad87ae304103699c0c36b75627b41 /scripts/patch-kernel
parent6070b5de50ab5e3f810628a9cbb04deecf30a85f (diff)
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dave Jones <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions