diff options
author | Satyam Sharma <satyam@infradead.org> | 2007-10-02 13:28:15 -0700 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-10-04 18:40:57 -0400 |
commit | 55395ae72b6e5ae614d28df74158c47454652583 (patch) | |
tree | 1e78d5102b5ad87ae304103699c0c36b75627b41 /arch/i386/kernel/cpu | |
parent | 6070b5de50ab5e3f810628a9cbb04deecf30a85f (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 <satyam@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu')
0 files changed, 0 insertions, 0 deletions