diff options
author | 2010-07-19 03:29:03 +0800 | |
---|---|---|
committer | 2010-08-03 13:47:06 -0400 | |
commit | 2530573e45c5846cd238db78651f0d236fc78aab (patch) | |
tree | 2173521f0978b4c684a711e33c40272c24f98721 /tools/perf/util/trace-event-scripting.c | |
parent | [CPUFREQ] Fix section mismatch for longrun_cpu_init. (diff) | |
download | linux-dev-2530573e45c5846cd238db78651f0d236fc78aab.tar.xz linux-dev-2530573e45c5846cd238db78651f0d236fc78aab.zip |
[CPUFREQ] Fix section mismatch for longhaul_cpu_init.
Use __cpuinit instead of __init for the cpufreq_driver
init function like it is done in powernow-k8.c. Use the
__cpuinitdata for data used by the routines marked as __cpuinit.
This is removing the warning generated when compiling with
the CONFIG_DEBUG_SECTION_MISMATCH=y option.
Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions