From: Avi Kivity Date: Wed, 14 May 2008 09:20:32 +0000 (+0300) Subject: x86: fix crash on cpu hotplug on pat-incapable machines X-Git-Tag: v2.6.26-rc3~21^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f4d870b02e1590260ab7f2a9ff74306bd27e88;p=pandora-kernel.git x86: fix crash on cpu hotplug on pat-incapable machines pat_disable() is __init, which means it goes away after booting is complete. Unfortunately it is used by the hotplug code if the machine is not pat-capable, causing a crash. Fix by marking pat_disable() as __cpuinit. Signed-off-by: Avi Kivity Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed