linux/arch/x86/kernel/cpu/mcheck
H. Peter Anvin cc3ca22063 x86, mce: remove incorrect __cpuinit for mce_cpu_features()
Impact: Bug fix on UP

Checkin 6ec68bff3c81e776a455f6aca95c8c5f1d630198:
    x86, mce: reinitialize per cpu features on resume

introduced a call to mce_cpu_features() in the resume path, in order
for the MCE machinery to get properly reinitialized after a resume.
However, this function (and its successors) was flagged __cpuinit,
which becomes __init on UP configurations (on SMP suspend/resume
requires CPU hotplug and so this would not be seen.)

Remove the offending __cpuinit annotations for mce_cpu_features() and
its successor functions.

Cc: Andi Kleen <ak@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-02-20 23:40:40 -08:00
..
Makefile x86: consolidate the cpu/ related code usage 2007-10-23 22:37:23 +02:00
k7.c Update email addresses. 2008-10-20 12:50:03 -07:00
mce.h x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
mce_32.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
mce_64.c x86, mce: remove incorrect __cpuinit for mce_cpu_features() 2009-02-20 23:40:40 -08:00
mce_amd_64.c x86, mce: remove incorrect __cpuinit for mce_cpu_features() 2009-02-20 23:40:40 -08:00
mce_intel_64.c x86, mce: remove incorrect __cpuinit for mce_cpu_features() 2009-02-20 23:40:40 -08:00
non-fatal.c Update email addresses. 2008-10-20 12:50:03 -07:00
p4.c x86: APIC: remove apic_write_around(); use alternatives 2008-07-18 12:51:21 +02:00
p5.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
p6.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
therm_throt.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
winchip.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00