diff options
| author | Sam Ravnborg <[email protected]> | 2008-01-30 13:33:37 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-01-30 13:33:37 +0100 |
| commit | 3eaf5efae72b33bc6132e9590e5d4bf11532f8c4 (patch) | |
| tree | 472b023d4220c0d9d49ee4b346625b15983d1f0c /tools/perf/scripts/python | |
| parent | 1e296f578a8ef70b314315a2bfc7b036f947803f (diff) | |
x86: fix section mismatch warning in topology.c
Fix following warning:
WARNING: arch/x86/kernel/built-in.o(__ksymtab+0x2b0): Section mismatch: reference to .cpuinit.text:arch_register_cpu in '__ksymtab_arch_register_cpu'
Annotating exported symbols are wrong.
Previously the warning were hidden by avoiding the export
in the non HOTPLUG_CPU case but the improved checks in
modpost caught it anyway.
Fix it by removing the __cpuinit annotation and rearrange the
code a bit to save one ifdef/endif pair.
Signed-off-by: Sam Ravnborg <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions