kernel-ark/arch/x86/kernel/cpu/mcheck
Sam Ravnborg b48ed48a78 x86: fix section mismatch warning in mcheck/mce_amd_64.c
Fix following warning:
WARNING: arch/x86/kernel/cpu/mcheck/built-in.o(.text+0x1584): Section mismatch: reference to .cpuinit.text:threshold_create_device in 'threshold_cpu_callback'

threshold_cpu_callback() is only used by threshold_cpu_notifier.
threshold_cpu_notifier is only used for cpu hot plug as it is registered
using register_hotcpu_notifier().

Mark them both __cpuinit to fix the warning.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:36 +01:00
..
k7.c x86: arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes 2008-01-30 13:32:13 +01:00
Makefile x86: consolidate the cpu/ related code usage 2007-10-23 22:37:23 +02:00
mce_32.c x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
mce_64.c x86: fix section mismatch warning in mcheck/mce_64.c 2008-01-30 13:33:36 +01:00
mce_amd_64.c x86: fix section mismatch warning in mcheck/mce_amd_64.c 2008-01-30 13:33:36 +01:00
mce_intel_64.c x86: consolidate the cpu/ related code usage 2007-10-23 22:37:23 +02:00
mce.h x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
non-fatal.c
p4.c x86: arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes 2008-01-30 13:32:13 +01:00
p5.c x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
p6.c x86: arch/x86/kernel/cpu/mcheck/k7.c checkpatch fixes 2008-01-30 13:32:13 +01:00
therm_throt.c cpu hotplug: thermal_throttle: fix cpu hotplug error handling 2007-10-18 14:37:21 -07:00
winchip.c x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00