From: Jacob Pan Date: Mon, 19 Apr 2010 18:23:43 +0000 (-0700) Subject: x86, mrst: Conditionally register cpu hotplug notifier for apbt X-Git-Tag: v2.6.34-rc6~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae7c9b70dcb4313ea3dbcc9a2f240dae6c2b50c0;p=pandora-kernel.git x86, mrst: Conditionally register cpu hotplug notifier for apbt APB timer is used on Moorestown platforms but not on a standard PC. If APB timer code is compiled in but not initialized at run-time due to lack of FW reported SFI table, kernel would panic when the non-boot CPUs are offlined and notifier is called. https://bugzilla.kernel.org/show_bug.cgi?id=15786 This patch ensures CPU hotplug notifier for APB timer is only registered when the APBT timer block is initialized. Signed-off-by: Jacob Pan LKML-Reference: <1271701423-1162-1-git-send-email-jacob.jun.pan@linux.intel.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed