From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263137AbTJVSZq (ORCPT ); Wed, 22 Oct 2003 14:25:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263366AbTJVSZq (ORCPT ); Wed, 22 Oct 2003 14:25:46 -0400 Received: from e33.co.us.ibm.com ([32.97.110.131]:44426 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S263137AbTJVSZn (ORCPT ); Wed, 22 Oct 2003 14:25:43 -0400 Subject: [RFC][PATCH] linux-2.4.23-pre7_cpu-map-fix_A0 From: john stultz To: lkml Cc: James , keith maanthey Content-Type: text/plain Organization: Message-Id: <1066847057.1119.63.camel@cog.beaverton.ibm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 22 Oct 2003 11:24:17 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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<