Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261823AbTJ2BPc (ORCPT ); Tue, 28 Oct 2003 20:15:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261838AbTJ2BPc (ORCPT ); Tue, 28 Oct 2003 20:15:32 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.102]:27356 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id S261823AbTJ2BP2 (ORCPT ); Tue, 28 Oct 2003 20:15:28 -0500 Subject: [PATCH] linxu-2.4.23-pre8_cpu-map-fix_A0 From: john stultz To: marcelo Cc: lkml , James Content-Type: text/plain Organization: Message-Id: <1067390071.23152.63.camel@cog.beaverton.ibm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 28 Oct 2003 17:14:31 -0800 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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<