linux/arch/x86/kernel/cpu
Sam Ravnborg d72b1b4f41 i386: fix section mismatch warning in intel.c
Fix following section mismatch warning:
WARNING: vmlinux.o(.text+0xc88c): Section mismatch: reference to .init.text:trap_init_f00f_bug (between 'init_intel' and 'cpuid4_cache_lookup')

init_intel are __cpuint where trap_init_f00f_bug is __init.
Fixed by declaring trap_init_f00f_bug __cpuinit.

Moved the defintion of trap_init_f00f_bug to the sole user in init.c
so the ugly prototype in intel.c could get killed.

Frank van Maarseveen <frankvm@frankvm.com> supplied the .config used
to reproduce the warning.

[ tglx: arch/x86 adaptation ]

Cc: Frank van Maarseveen <frankvm@frankvm.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-17 20:15:26 +02:00
..
cpufreq Convert cpu_sibling_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
mcheck i386: Fix section mismatch 2007-10-17 20:15:25 +02:00
mtrr i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
addon_cpuid_features.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
amd.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
bugs.c Delete filenames in comments. 2007-10-13 10:01:23 -07:00
centaur.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
common.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cpu.h i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cyrix.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
intel_cacheinfo.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
intel.c i386: fix section mismatch warning in intel.c 2007-10-17 20:15:26 +02:00
Makefile x86: sanitize pathes arch/x86/kernel/cpu/Makefile 2007-10-11 11:17:26 +02:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
proc.c x86: Convert cpu_core_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
transmeta.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00