From: H. Peter Anvin Date: Sat, 21 Feb 2009 07:35:51 +0000 (-0800) Subject: x86, mce: remove incorrect __cpuinit for mce_cpu_features() X-Git-Tag: v2.6.29-rc6~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc3ca22063784076bd240fda87217387a8f2ae92;p=pandora-kernel.git 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 Cc: Linus Torvalds Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed