Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263365AbTKCVwr (ORCPT ); Mon, 3 Nov 2003 16:52:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263392AbTKCVwo (ORCPT ); Mon, 3 Nov 2003 16:52:44 -0500 Received: from e4.ny.us.ibm.com ([32.97.182.104]:25836 "EHLO e4.ny.us.ibm.com") by vger.kernel.org with ESMTP id S263365AbTKCVwh (ORCPT ); Mon, 3 Nov 2003 16:52:37 -0500 Subject: PATCH] linxu-2.4.23-pre9_cpu-map-fix_A0 From: john stultz To: marcelo Cc: lkml Content-Type: text/plain Organization: Message-Id: <1067896202.11436.20.camel@cog.beaverton.ibm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 03 Nov 2003 13:50:02 -0800 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3870 Lines: 113 Marcelo, All, I noticed on x440s that when HT is disabled in the BIOS I was having problems properly booting 2.4 in ACPI mode. Further investigation found a subtle problem w/ smp_boot_cpus() when clustered_acpi_mode is set. During bootup, phys_cpu_present_map is initialized by ORing apicid_to_phys_cpu_present() for each cpu apicid(see MP_processor_info) On flat mode boxes this translates to "phys_cpu_present_map |= (1< #include #include +#include #ifdef CONFIG_MATH_EMULATION #include #endif @@ -377,7 +378,7 @@ if its not, default to the BSP */ if ((reboot_cpu == -1) || (reboot_cpu > (NR_CPUS -1)) || - !(phys_cpu_present_map & (1<