From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264350AbTH1TDr (ORCPT ); Thu, 28 Aug 2003 15:03:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264357AbTH1TDr (ORCPT ); Thu, 28 Aug 2003 15:03:47 -0400 Received: from nat9.steeleye.com ([65.114.3.137]:62983 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S264350AbTH1TDg (ORCPT ); Thu, 28 Aug 2003 15:03:36 -0400 Subject: [PATCH] make voyager work again after the cpumask_t changes From: James Bottomley To: wli@holomorphy.com, Andrew Morton Cc: Linux Kernel Content-Type: multipart/mixed; boundary="=-eusK3f4vJfNfVYIQiOyP" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-9) Date: 28 Aug 2003 15:02:55 -0400 Message-Id: <1062097375.1952.41.camel@mulgrave> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-eusK3f4vJfNfVYIQiOyP Content-Type: text/plain Content-Transfer-Encoding: 7bit Most is just simple fixes; however, the needless change from atomic to non-atomic operations in smp_invalidate_interrupt() caused me a lot of pain to track down since it introduced some very subtle bugs. I've also taken phys_cpu_present_map out of smp.h. Since it physid_mask_t is defined in mpspec.h anyway, and contains a duplicate definition, I don't believe it can hurt anything. James --=-eusK3f4vJfNfVYIQiOyP Content-Disposition: attachment; filename=cpumask.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=cpumask.diff; charset=ISO-8859-1 =3D=3D=3D=3D=3D arch/i386/mach-voyager/voyager_smp.c 1.15 vs edited =3D=3D= =3D=3D=3D --- 1.15/arch/i386/mach-voyager/voyager_smp.c Mon Aug 18 22:46:23 2003 +++ edited/arch/i386/mach-voyager/voyager_smp.c Thu Aug 28 12:50:04 2003 @@ -130,7 +130,7 @@ { int cpu; =20 - for_each_cpu(cpu, mk_cpumask_const(cpu_online_map)) { + for_each_cpu(cpu, cpu_online_map) { if(cpuset & (1<